Reverse Proxying to 2 backends, how to keep the URL-directory prefix having relative paths?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux