httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Do-Risika RAFIEFERANTSIARONJY <dou...@madacom.mg>
Subject Re: [users@httpd] mod_proxy Questions
Date Thu, 18 Mar 2004 05:55:13 GMT
Joshua Slive wrote:
> On Wed, 17 Mar 2004, Raymond wrote:
> 
> 
>>A couple of questions regarding reverse proxy utilizing mod_proxy:
>>
>>1) To reverse proxy (web-accelerate) on the same box, typically ( in squid )
>>one would configure httpd to an non-standard port ( say, 82 or 8082 ). Does
>>not appear possible with mod_proxy. Does mod_proxy simply intercept the
>>"listen" port(s) ?
>>
>>2) Can mod_proxy be utilized inside VirtualHosts so it is a reverse proxy in
>>one virtualhost and a forward proxy in another. If so, how 'bout an example
>>or two?
> 
> 
> Your two questions are related.  They could both be answered with a
> configuration like
> 
> Listen 8082
> Listen 82
> Listen 80
> 
> <VirtualHost _default_:82>
> # Forward proxy
> ProxyRequests On
> ProxyVia On
> 
> <Proxy *>
> Order deny,allow
> Deny from all
> Allow from internal.example.com
> </Proxy>
> </VirtualHost>
> 
> <VirtualHost _default_:8082>
> # Reverse proxy
>  ProxyRequests Off
> 
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> 
> ProxyPass /foo http://foo.example.com/bar
> ProxyPassReverse /foo http://foo.example.com/bar
> </VirtualHost>

Do you know why mod_proxy is not working when passing through a *http post* 
method ? any tips to surpass it ?


-- 
DouRiX
     ["The mind unlearns with difficulty what it has long learned." -- Lucius
                                 Annaeus Seneca]



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