Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proxy Module bouncing requests

Status
Not open for further replies.

DBAFrog

Programmer
Sep 26, 2002
61
US
I have Proxy Module on Box1 for getting a site on Box2

a)Proxy_mod is loaded,
b)This is set in httpd.conf
IfModule mod_proxy.c>
ProxyRequests On
ProxyVia On

<Proxy *>
Order deny,allow
Deny from all
Allow from 192.168.0
</Proxy>
c) the vhost block is set
# Virtual host blackwire-Proxy redirect
<VirtualHost 192.168.0.101>
ServerName MyDoMain
ProxyPreserveHost On
ProxyPass /var/ #ProxyPassReverse /var/ </VirtualHost>

But, here is the problem.

when ProxyPass / is set I get a 403 FORBIDDEN error. You are not allowed to access / on this server
and
when Proxypass /var/ is set it loops back to my proxy server.

WHAT IS UP? My gut sez I have a setting on Box2 to set to let the request from Box1, the proxy, go thru. But, I can't figure out where I need to set this.

Thanks, Frog

P.S. the /etc/hosts.allow file on Box2 is empty.


------------------
Curious by Nature,
Linux by Design
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top