rclark/resources — Issue #3: Site links non-functional through Apache proxy
Author: rclark
Created: 2011-12-27 21:46:09+00:00
State: open

When viewing the site through an Apache proxy, CSS/JS files and links to other pages don't function. This is because they are all coded into the templates as "/path/to/file/or/page". The initial slash will yield invalid URLs if the Apache proxy puts the application at something other than the site root.

One possible solution is to just remove all the leading slashes. Another would be to encode absolute URLs.