Re: Problem with settings of Proxy

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

 



Unfortunatelly I have found that we have a system where is installed apache 1.3.
It would be good to have solution for both. Apache 1.3 and Apache 2.2

regards
Petr

2009/9/22 Nick Kew <nick@xxxxxxxxxxxx>
Petr Hracek wrote:
Hello *,

sorry for bother you with this question but I would like to ask you if it's possible to setup Proxy as is mentioned below.

In the my configuration file of Apache 2.2.10 is for setting up my application.
ProxyPassReverse    /myapplication/    http://127.0.0.1:10000/ <http://127.0.0.1:10123/>
ProxyPassReverse    /myapplication/    http://localhost:10000/ <http://localhost:10123/>
RewriteRule ^/myapplication$ http://127.0.0.1:10000/ <http://127.0.0.1:10123/> [P]
RewriteRule ^/myapplication/(.*) http://127.0.0.1:10000/$1 <http://127.0.0.1:10123/$1> [P]

Why RewriteRule rather than ProxyPass?  You believe in
complicating things?


Is it possible to write down to the configuration file of apache following:
ProxyPassReverse /wbm_(.*)/ http://$1/

Hmm, now that looks like a reason for RewriteRule.  You'd use
that to set an env var to use with ProxyPassReverse "interpolate".

--
Nick Kew

---------------------------------------------------------------------
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