httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Problem with settings of Proxy
Date Tue, 22 Sep 2009 11:41:12 GMT
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@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