httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Rudnick <joerg.rudn...@t-online.de>
Subject [users@httpd] Reverse Proxying to 2 backends, how to keep the URL-directory prefix having relative paths?
Date Fri, 11 Feb 2011 21:52:25 GMT
Dear all,

googling didn't do the trick so here my question. Reverse proxying two 
backends by

ProxyPass /app http://127.0.0.1:4444
ProxyPassReverse /app http://127.0.0.1:4444

ProxyPass /wiki http://127.0.0.1:7777
ProxyPassReverse /wiki http://127.0.0.1:7777

I run into problems with the second backend, as its relative paths lack 
the wiki/ prefix.

Rewriting isn't a good idea, as the wiki pages' paths don't have 
prefixes, i.e. href="WikiPageName".

Interestingly, with the first backend I got relative paths running fine 
after eliminating leading slashes.

Is there a more elegant solution to this than modifying the wiki backend 
so that it writes href="wiki/WikiPageName" etc. everywhere?


Thank you a lot in advance,

     Nick


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message