You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David <li...@theflorys.org> on 2007/09/16 00:11:46 UTC
[users@httpd] Re: ProxyPassReverse returns Error 403: Access Forbidden
On 9/15/2007 5:40 PM, David wrote:
> I am an Apache novice trying to configure a reverse proxy. My
> httpd.conf configuration look like this:
>
> <IfModule proxy_module>
> ProxyRequests Off
>
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> ProxyPass /foo http://theflorys.org/
> ProxyPassReverse /foo http://theflorys.org/
>
> <Location /foo>
> Order allow,deny
> Allow from all
> </Location>
>
> </IfModule>
>
> When I access http://myserver.org/foo I get an Error 403: Access
> Forbidden. Where should I look to solve the problem?
>
> David Flory
Here is the access.log:
127.0.0.1 - - [15/Sep/2007:17:08:18 -0400] "GET /foo HTTP/1.1" 403 1089
And the matching line from the error.log:
[Sat Sep 15 17:08:18 2007] [warn] proxy: No protocol handler was valid
for the URL /foo. If you are using a DSO version of mod_proxy, make sure
the proxy submodules are included in the configuration using LoadModule.
Advice would be appreciated.
David
---------------------------------------------------------------------
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
[users@httpd] Re: ProxyPassReverse returns Error 403: Access Forbidden
Posted by David <li...@theflorys.org>.
On 9/15/2007 6:14 PM, Nick Kew wrote:
> On Sat, 15 Sep 2007 18:11:46 -0400
> David <li...@theflorys.org> wrote:
>
>
>> [Sat Sep 15 17:08:18 2007] [warn] proxy: No protocol handler was valid
>> for the URL /foo. If you are using a DSO version of mod_proxy, make
>> sure the proxy submodules are included in the configuration using
>> LoadModule.
>
> You forgot to load mod_proxy_http.
>
Yup -- novice error. Thanks Nick.
David
---------------------------------------------------------------------
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] Re: ProxyPassReverse returns Error 403: Access
Forbidden
Posted by Nick Kew <ni...@webthing.com>.
On Sat, 15 Sep 2007 18:11:46 -0400
David <li...@theflorys.org> wrote:
> [Sat Sep 15 17:08:18 2007] [warn] proxy: No protocol handler was valid
> for the URL /foo. If you are using a DSO version of mod_proxy, make
> sure the proxy submodules are included in the configuration using
> LoadModule.
You forgot to load mod_proxy_http.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.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