logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Mod_Proxy question
Author
args



Joined: 05 Feb 2008
Posts: 1

PostPosted: Tue 05 Feb '08 7:02    Post subject: Mod_Proxy question Reply with quote

Any help with this one will be much appreciated. I am trying to set up a new development server on Vista using Apache2.2 and Tomcat 6. In order to use mod_proxy_ajp to connect the two I must first get mod_proxy working. This is giving me fits right now. I've loaded the modules and when I try to use a simple proxy pass I keep getting a 403 error. I've double-checked my IP address to ensure it's set correctly and I'm getting no server love at all. Here is the pass block in my httpd.conf:

ProxyRequests On
ProxyVia On

<Proxy *>
Order Deny,Allow
Deny from all
Allow from xxx.xxx.xx.x
</Proxy>

ProxyPass /somedir/ http://localhost:1818/somedir/

The x's are just my local IP address so that only I can use the proxy. If I type http://localhost:1818/somedir/ into my browser I get the proper page. But when I try typing http://localhost/somedir/ and try to use the proxy I get the 403. Any thoughts would be appreciated.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 06 Feb '08 11:20    Post subject: Reply with quote

Only for testing.
change the deny,allow
to
Code:

deny from none
allow from all


You should turn ProxyRequests off, if you don't need your server as a forward proxy.
With ProxyVia I'm not sure, but on my reverse proxies it work with set it off.
Back to top


Reply to topic   Topic: Mod_Proxy question View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules