You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Damien Hull <dh...@section9.us> on 2012/01/02 18:10:16 UTC

Re: [users@httpd] Apache 2 Reverse Proxy

Thanks for the info. I got it working. I was missing just what you said....

On Dec 28, 2011, at 11:44 PM, Øyvind Lode <fo...@lode.is> wrote:

> Hi:
>
> You're missing <proxy *>...</proxy> and <location />...</location> to allow access to the proxied host.
>
> Try something like this:
>
> ProxyRequests off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> ProxyPass / http://domain:8080/
> ProxyPassReverse / http://domain:8080/
>
> <Location />
> Order allow,deny
> Allow from all
> </Location>
>
> -----Original Message-----
> From: Damien Hull [mailto:dhull@section9.us]
> Sent: 29. desember 2011 01:55
> To: users@httpd.apache.org
> Subject: [users@httpd] Apache 2 Reverse Proxy
>
> Here's what I have...
> 1. Ubuntu 10.04
> 2. LAMP
> 3. Request Tracker running with Starman
>
> In a virtual host config I have the following...
> ProxyPass / http://domain.com:8080/
> ProxyPassReverse / http://domain.com:8080/
>
> The proxy and proxy_http modules have been enabled.
>
> When I go to the site it says I don't have permission to access /.
>
> What am I missing?
>
> ---------------------------------------------------------------------
> 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
>
>
> ---------------------------------------------------------------------
> 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
>

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