You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Richard Lewis <ri...@fastmail.co.uk> on 2004/09/23 14:06:44 UTC

[users@httpd] Apache ProxyPass to Tomcat/Cocoon

Hi there,

I've got Apache 2.0 and Cocoon 2.1 (under Tomcat 4.1) running on my 
server.

I want to be able to re-direct requests for cursus.uea.ac.uk to the 
correct Cocoon site.

I've got the following set up in Apache:

mods-enabled directory contains sym-link:

proxy.conf -> ../mods-available/proxy.conf
proxy_connect.load -> ../mods-available/proxy_connect.load
proxy_ftp.load -> ../mods-available/proxy_ftp.load
proxy_http.load -> ../mods-available/proxy_http.load
proxy.load -> ../mods-available/proxy.load

httpd.conf contains:

<VirtualHost [IP of server]:80>
         ServerName www.cursus.uea.ac.uk
         ServerAlias cursus.uea.ac.uk
         ServerAlias www.cursus
         ProxyRequests Off
         ProxyPass / http://localhost:8080/cocoon/cursus/
         ProxyPassReverse / http://localhost:8080/cocoon/cursus/
</VirtualHost>

(I'm not using the new style sites-[available/enabled] configuration...)

Requests to cursus.uea.ac.uk then return 403 'Forbidden'

$ tail /var/log/apache2/error.log

gives:

[Thu Sep 23 12:54:17 2004] [error] [client ***] client denied by server 
configuration: proxy:http://localhost:8080/cocoon/cursus/

Does anyone know how I can resolve this?

Cheers,
Richard


---------------------------------------------------------------------
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 ProxyPass to Tomcat/Cocoon

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 23 Sep 2004 13:06:44 +0100, Richard Lewis
<ri...@fastmail.co.uk> wrote:

> 
> [Thu Sep 23 12:54:17 2004] [error] [client ***] client denied by server
> configuration: proxy:http://localhost:8080/cocoon/cursus/

Do you have a 
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

Do you have any <Location> blocks which could be restricting access?

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