EDIT: I think I got this working by simply removing the trailing slash from the ProxyPass line of config mentioned in the wiki. I did a bunch of other stuff that I thought maybe did the trick, but then I undid all the other stuff and just removed the trailing slash, and it's still working.
Try
Code: Select all
ProxyPass /deluge http://localhost:8112
and of course everything else
on this wiki article.
Below is my original post, and my additional steps I thought were resolving the issue...
==================================================================================================
I'm in the same boat as Magic815. I found these errors in my browser:
deluge.css Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ext-extensions.css Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ext-all-notheme.css Failed to load resource: the server responded with a status of 500 (Internal Server Error)
s.gif Failed to load resource: the server responded with a status of 500 (Internal Server Error)
deluge/icons/deluge.png Failed to load resource: the server responded with a status of 500 (Internal Server Error)
deluge/icons/deluge.png Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ext-extensions.css Failed to load resource: the server responded with a status of 500 (Internal Server Error)
deluge.css Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ext-all-notheme.css Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Further details on my setup:
I have normal web traffic going to a Ubuntu LAMP server, and I'm doing the Reverse Proxy setup on that. Deluge actually runs on a Windows server on my LAN, and a non-standard port. If I open
http://brainiac-plex:12345 locally it works properly. If I open
http://mydomain.com/deluge it loads as Magic815's screenshot (and the errors I posted above).
I actually got my reverse proxy working by following themadweaz's advise in
this reddit thread with one exception. I had to remove the trailing slash from the main deluge ProxyPass... My Apache config (relevant to this issue) now looks like this:
Code: Select all
ProxyPass "/deluge" "http://brainiac-plex:12345"
<Location /deluge>
ProxyPassReverse /
ProxyPassReverseCookiePath / /deluge
RequestHeader set X-Deluge-Base "/deluge/"
Order allow,deny
Allow from all
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|deluge/css/|garbage/css/|i"
Substitute "s|deluge/icons/|garbage/icons/|i"
Substitute "s|deluge/images/|garbage/images/|i"
Substitute "s|deluge/themes/|garbage/themes/|i"
</Location>
ProxyPass /garbage/css/ http://brainiac-plex:12345/css/
ProxyPassReverse /garbage/css/ http://brainiac-plex:12345/css/
ProxyPass /garbage/icons/ http://brainiac-plex:12345/icons/
ProxyPassReverse /garbage/icons/ http://brainiac-plex:12345/icons/
ProxyPass /garbage/images/ http://brainiac-plex:12345/images/
ProxyPassReverse /garbage/images/ http://brainiac-plex:12345/images/
ProxyPass /garbage/themes/ http://brainiac-plex:12345/themes/
ProxyPassReverse /garbage/themes/ http://brainiac-plex:12345/themes/
This did require me to install mod_subsitute on Apache