You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Barinek, Michael" <MB...@intrado.com> on 2002/11/06 19:28:30 UTC

[users@httpd] mod_proxy

I receive a 403 Access forbidden error when using mod_proxy.c and Apache
2.0.43

Any suggestions?

Here is my httpd.conf...

<IfModule mod_proxy.c>
ProxyRequests On

<Proxy *>
    Order deny,allow
    Deny from all
    Allow from localhost
</Proxy>

ProxyPass /examples/jsp/ http://localhost:8888/examples/jsp/ 
ProxyPassReverse /examples/jsp/ http://localhost:8888/examples/jsp/ 

ProxyPass /MSPetShop/ http://localhost:8889/MSPetShop/ 
ProxyPassReverse /MSPetShop/ http://localhost:8889/MSPetShop/ 

ProxyVia On

</IfModule>

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


Re: [users@httpd] mod_proxy

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 6 Nov 2002, Barinek, Michael wrote:

> I receive a 403 Access forbidden error when using mod_proxy.c and Apache
> 2.0.43
>
> Any suggestions?
>
> Here is my httpd.conf...
>
> <IfModule mod_proxy.c>
> ProxyRequests On

Why do you have ProxyRequests On?  If you are only running a reverse
proxy, you should set this off.

> <Proxy *>
>     Order deny,allow
>     Deny from all
>     Allow from localhost
> </Proxy>

Once you set ProxyRequests off, you can safely remove this section and
your problem will likely go away.

Joshua.


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