9

How to handle relative urls correctly with a reverse proxy

view full story
linux-howto

http://serverfault.com – I have a reverse proxy setup as follows in Apache: Server A with address www.example.com/folder is the reverse proxy server. It maps to: Server B with address test.madeupurl.com This kind of works. But the problem I have is, on www.example.com/folder, all of the relative links are of the forms www.example.com/css/examplefilename.css rather than www.example.com/folder/css/examplefilename.css How do I fix this? So far my reverse proxy has this on Server A (www.example.com): <Location /folder> ProxyPass http://test.madeupurl.com ProxyPassReverse http://test.madeupurl.com &lt (HowTos)