I'm trying to run Gollum, a wiki that uses git, on a Debian server for personal use. Launching it without any command line options makes it listen to to http://localhost:4567, which I can access just fine, even from PCs on the same LAN (with the right IP).However, I want to access it through http://x.x.x.x/gollum, so I added these lines to apache2.conf:ProxyPass /gollum/ http://localhost:4567/ProxyPassReverse http://localhost:4567 /gollum/Accessing http://x.x.x.x/gollum/home (/home is the main page of the app) works, but it'll only show the html of the page, without css, javascript, images, or even the links working. The error.log file is full of errors like these, just to give an example:File does not exist: /usr/share/javascript/editor, referer: http://192.168.1.68/gollum/homeFile does not exist: /usr/share/javascript/gollum.js, referer: http://192.168.1.68/gollum/homeIn the html of the page, if I inspect it with Firefox, the links for the items above are all written, for example, like this: src=/javascript/gollum.js.If I write the url of the files directly, http://localhost/javascript/gollum/gollum.js, the right file will load.So, how can I make the site work from http://localhost/gollum/? Am I doing the redirection wrong or can this be because gollum doesn't support being deployed this way?
ProxyPass with Gollum wiki
apache httpd