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-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org