Apache, Tomcat, mod_proxy_ajp and Leopard

Christopher Hunt huntc at internode.on.net
Sun Jan 13 01:24:26 PST 2008


Hi there,

I'm attempting to configure tomcat with apache on Mac OS X Leopard and  
I'm having a little difficulty.

Firstly I have http://127.0.0.1:8080/mypath working i.e. Tomcat is up  
and running. Secondly I can telnet to localhost/8009 so AJP appears to  
be up and running. My Tomcat config for AJP looks as follows:

     <Connector
         port="8009"
         redirectPort="8443"
         protocol="AJP/1.3">
     </Connector>

I then created a ajp.conf file in /etc/apache2/other with the  
following contents:

<Location /mypath/>
	ProxyPass ajp://localhost:8009/mypath/
</Location>

However attempting http://127.0.0.1/mypath yields a 404 (http://127.0.0.1/ 
  works fine so Apache is up).

Anything Mac OS X Leopard specific that I'm missing?

Thanks for any help.

Cheers,
-C


More information about the MacOSX-admin mailing list