Johan>> I use the default Tomcat 5.0.9 jk2.properties - which defines nothing allowing all the defaults to be used. Then in the Tomcat server.xml you need to enable jk2.
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> <Connector port="8009" enableLookups="false" redirectPort="8443" debug="0" protocol="AJP/1.3" /> The workers2.properties in Apache 2.0.45 is where any real changes are made. Here is the top part. I use a /do/ strategy instead of .do. [shm] file=${serverRoot}/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] #port=8009 #host=127.0.0.1 info=Ajp13 forwarding over socket tomcatId=localhost:8009 # define the worker #[ajp13:localhost:8009] #channel=channel.socket:localhost:8009 # Uri mapping [uri:/holmansite/do/*] info=Map the actions to webapp [uri:/holmansite/j_security_check/*] info=Map the security request to tomcat Here is the httpd.conf entry for the same domain. I use the war as the container for all source but Tomcat only serves up the /do/ requests and Apache handles the rest. <VirtualHost *> ServerName www.calandva.com DocumentRoot web/holmansite/ ServerAdmin [EMAIL PROTECTED] ErrorLog logs/error_logs/holmansite-error.log CustomLog logs/access_logs/holmansite-access.log combined # Create an Alias for Holmansite Alias /holmansite/ "C:/Apache/Tomcat/webapps/holmansite/" </VirtualHost> Cal http://www.calandva.com/ Last update 08/01/03 -----Original Message----- From: Johan Wasserman - CPX Mngd Services [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 01:51 To: Struts Users Mailing List Subject: RE: HTTP 404 Not Found on Actions - SOLVED Nope, nothing to do with struts! It's something to do with how Tomcat / Apache is set up. When I try via Tomcat only it works. I'll have to relook the Tomcat/Apache thing (mod_jk), if ANYBODY has a tried and trusted way of setting this up, please let me know. Tomcat v. 5.0.3 Apache v. 2.0.46 Sory for this "out of context". Thanks, Johan. -----Original Message----- From: Koni Roth [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 12:41 PM To: Struts Users Mailing List Subject: Re: HTTP 404 Not Found on Actions Try struts 1.1 final version. Here it works ;-) Johan Wasserman - CPX Mngd Services wrote: > Hi. > I'm running struts 1.1-rc2 and get a 404 when entering an unrecognized > username & password on the logon page for struts-example (Mailreader > demo). It goes to localhost/sruts-example/logon.do but with a 404 > Page not found. I've checked and double checked my web & > struts-config files, I mean they've not been changed from the > download. > > Thanks, > Johan Wasserman. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Learn more about Paymentech's payment processing services at www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]