httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Lewis <richardle...@fastmail.co.uk>
Subject [users@httpd] Apache ProxyPass to Tomcat/Cocoon
Date Thu, 23 Sep 2004 12:06:44 GMT
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


Mime
View raw message