howdy fellas! 🙂 today i had to setup apache reverse proxy with my transmission web interface. in my university wifi all ports are blocked other than port 80 and in order to access my transmission server i had to either setup an apache reverse proxy or make transmission daemon run on port 80.
for this, first you have to enable apache mod_proxy and mod_proxy_http modules.
sudo a2enmod proxy sudo a2enmod proxy_http
next you need to edit the apache configuration file. so first open it with nano.
cd /etc/apache2/sites-available sudo nano 000-default.conf
your default configuration file name might not same as
000-default.conf. provide the appropriate name.
ProxyRequests Off <Proxy *> AddDefaultCharset off Order Allow,Deny Allow from all </Proxy> ProxyPass /transmission http://mydomain.me:9091/transmission ProxyPassReverse /transmission http://mydomain.me:9091/transmission ProxyVia On
following isn’t the reason for HTTP 409 conflict error.
one thing to note is don’t add
http://localhost:9091/transmission instead of
http://mydomain.me:9091/transmission. in my configuration putting localhost instead of actual domain generated
HTTP 409 conflict error.
save the file & exit. next restart the apache server and you are almost done.
sudo service apache2 restart
now you can access your transmission web interface via
http://mydomain.me/transmission/web/. 🙂 so happy reverse proxying.
note that you have to access transmission web interface via the exact url as above. if you loose or don’t add
/web/ part you’ll receive HTTP 409 conflict error.