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 2011/12/29 01:54:33 UTC

[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


Re: [users@httpd] Apache 2 Reverse Proxy

Posted by Damien Hull <dh...@section9.us>.
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


RE: [users@httpd] Apache 2 Reverse Proxy

Posted by Øyvind Lode <fo...@lode.is>.
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


RE: [users@httpd] Apache 2 Reverse Proxy

Posted by John Karr <br...@brainbuz.org>.
>From a browser on the server (I recommend elinks for a console based one)
connect to http://domain.com:8080/.
Get your host serving a static page.

Then add your proxy statements to replace the static page.

Check the logs (/var/log/apache2/ is the ubuntu default) when something
isn't working.

To figure out what is missing (or done wrong) I'd need to see your whole
config.



-----Original Message-----
From: Damien Hull [mailto:dhull@section9.us] 
Sent: Wednesday, December 28, 2011 7:55 PM
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