Hi, I have an application which, due to restrictions by third party developers must run on Tomcat 4.1.31 with Java version 1.4.2_11.
I am deploying this on a new RHEL 5 machine, with httpd-2.2.3-11.el5_1.3. From my reading, it appears that mod_proxy_ajp is the way to go, and I aim to loadbalance several instances, so this seems to be ideal. I am testing with the default Tomcat webapps - I would like to be able to enter: http://10.1.1.203/examples and get the webapps, where I can click on the examples and run them. On tomcat the path is: http://10.1.1.203:8080/examples/servlets/index.html I am trying to understand the following behavour: The relevant apache config is: <IfModule mod_proxy.c> ProxyRequests On <Proxy *> Order allow,deny Allow from all </Proxy> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /examples/ ajp://localhost:8080/examples/ ProxyVia on My server.xml contains: <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" proxyName="my.test.com" proxyPort="80"/> When I browse to http://10.1.1.203/examples I get a tomcat-served directory listing, which I can use to navigate to the examples, from whence I can click on the examples, and they work. If I add /servlets to both sides of the ProxyPass directive, I can browse directly to the directory listing, but if I click on one of the examples I get a 404 / resource unavailable. Why is this happening? How do I get 10.1.1.3/examples to map to the examples, in such a way that I can click on them and they work? Once this is tested and working, I will roll out the real app. What's the recommended way to mix in apache virtual hosts, so I can browse to www.mywizzoapp.com/login.jsp and be mapped to /some/path/which/eventually/logs/into/the/app? Thanks, S. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]