[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Help using mod_proxy_ajp
From: bleak () ironwire ! net
Date: 2006-05-30 23:55:39
Message-ID: 447CDB7B.2070707 () ironwire ! net
[Download RAW message or body]
I'm using apache 2.2.2, with mod_proxy_ajp, and tomcat 5.5.17. I'm
trying to configure a set up that will allow me to proxy certain URLs
like http://ironwire.net/tomcat/ to tomcat for processing.
Here are the relevant sections of my current server.xml file, including
the contexts I set up to try and handle different paths:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" enableLookups="false"
proxyName="ironwire.net" proxyPort="80" protocol="AJP/1.3"
maxThreads="50" minSpareThreads="2" maxSpareThreads="25"
address="127.0.0.1" />
<Engine name="localhost" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase" />
<Host name="localhost" appBase="/usr/local" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="tomcat/webapps" />
<Context path="/" docBase="www/ironwire.net" reloadable="true" />
<Context path="/tomcat" docBase="tomcat/webapps"
reloadable="true" />
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="/var/log/tomcat" pattern="combined" />
</Host>
</Engine>
</Service>
And here are the proxy settings from my httpd.conf file:
ProxyRequests Off
ProxyPass /admin !
ProxyPass / ajp://localhost:8009/
ProxyPass /tomcat/ ajp://localhost:8009/tomcat/
Whenever I try either URL (http://ironwire.net or
http://ironwire.net/tomcat/), the server replies with a 404 error
stating: The requested resource (resource) is not available.
Can anybody help me out with this?
Cheers,
-- Steven
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic