httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alin vasile <alinachegal...@yahoo.com>
Subject Re: [users@httpd] Reverse proxy question
Date Sun, 18 Apr 2010 17:38:03 GMT
The key here is that I want to rewrite some URL's using a remote proxy and I need to set the
proxy properties in a common place (not repeating them at every RewriteRule).

I saw that if I remove the "ProxyPass" directives the warnings dissapear. But are the ProxySet
properties used in this case?




________________________________
From: alin vasile <alinachegalati@yahoo.com>
To: users@httpd.apache.org
Sent: Sat, April 17, 2010 5:44:43 PM
Subject: [users@httpd] Reverse proxy question


Hi,
 
   I try to setup a reverse proxy with httpd 2.2.15:
 
ProxyPass /112 http:/mywebserver/112
ProxyPassReverse /112 http:/mywebserver/112
 
   and I want to rewrite some requests through it:
 
RewriteCond %{REQUEST_URI} /112
RewriteRule /112/(.*) http://mywebserver/112/$1 [P,L]
 
   Also I would like to set some properties for this proxy:
 
<Proxy http:/mywebserver/112>
     ProxySet keepalive=On
</Proxy>
 
   In this moment if I start httpd I'll get the warning: worker http:/mywebserver/112 already
used by another worker.
 
What I am doing wrong?
 
Thanks



      
Mime
View raw message