Marion, Yes I do have those lines in my mod_jk.conf file...
#################### localhost:/webdav #################### # Static files Alias /webdav "/usr/local/jakarta-tomcat-4.1.12/webapps/webdav" <Directory "/usr/local/jakarta-tomcat-4.1.12/webapps/webdav"> Options Indexes FollowSymLinks DirectoryIndex index.jsp index.html index.htm </Directory> # Deny direct access to WEB-INF and META-INF # <Location "/webdav/WEB-INF/*"> AllowOverride None deny from all </Location> <Location "/webdav/META-INF/*"> AllowOverride None deny from all </Location> JkMount /webdav/*.jsp ajp13 / # Deny direct access to WEB-INF and META-INF # <Location "/examples/WEB-INF/*"> AllowOverride None deny from all </Location> <Location "/examples/META-INF/*"> AllowOverride None deny from all </Location> JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/snoop ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/servletToJsp ajp13 JkMount /examples/SendMailServlet ajp13 ################################### ----- Original Message ----- From: "Marion McKelvie" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 12:49 PM Subject: RE: Tomcat/Apache Connector does not work? > > Leave the server.xml as it is. You can edit mod_jk.conf - it is not > generated by tomcat. > > Check that your mod_jk.conf contains something like: > > # > # The following line makes apache aware of the location of the /examples > context > # > Alias /examples "/var/tomcat4/webapps/examples" > <Directory "/var/tomcat4/webapps/examples"> > Options Indexes FollowSymLinks > </Directory> > > # > # The following line mounts all JSP files and the /servlet/ uri to tomcat > # > JkMount /examples/servlet/* ajp13 > JkMount /examples/*.jsp ajp13 > > # > # The following line prohibits users from directly access WEB-INF > # > <Location "/examples/WEB-INF/"> > AllowOverride None > deny from all > </Location> > > > -----Original Message----- > From: Wey Hueymeei [mailto:[EMAIL PROTECTED] > Sent: 19 March 2003 17:36 > To: Tomcat Users List > Subject: Re: Tomcat/Apache Connector does not work? > > > Marion, > > No I didn't. Isn't mod_jk.conf automatically generated everytime tomcat > starts? Should I edit it? > > I found the following line in my server.xml > > <!-- Tomcat Root Context --> > <!-- > <Context path="" docBase="ROOT" debug="0"/> > --> > > <!-- Tomcat Examples Context --> > <Context path="/examples" docBase="examples" debug="0" > reloadable="true" crossContext="true"> > <Logger classNam ...................... > > Is this where I need to edit? > > Thanks, > Sylvia > > > > Sylvia > > > > Have you set up the context for the examples in the mod_jk.conf file? > > Apache needs to know to send port 80 requests to Tomcat for this context. > > > > Marion > > > > -----Original Message----- > > From: Wey Hueymeei [mailto:[EMAIL PROTECTED] > > Sent: 19 March 2003 17:07 > > To: [EMAIL PROTECTED] > > Subject: Tomcat/Apache Connector does not work? > > > > > > hello, > > > > I have configured tomcat 4.1.12 and Apache 2.0.43 connection using > > "mod_jk-2.0.43.so" on solaris 8. > > > > In catalina.out file, I found the following: > > > > Mar 19, 2003 11:25:18 AM org.apache.jk.server.JkMain start > > INFO: Jk running ID=0 time=9/97 > > config=/usr/local/jakarta-tomcat-4.1.12/conf/jk > > 2.properties > > > > In error_log file, there's the following > > [Wed Mar 19 11:28:34 2003] [notice] Apache/2.0.43 (Unix) mod_jk/1.2.1 > > configured > > -- resuming normal operations > > > > Tomcat (http://comptuername:8080/examples/) and Apache > > (http://computername:800/) are both working ok > > > > However when I change tomcat page port to Apache port > > (http://computername:800/examples/) , I got a 404. I also tried to change > > apache port to port 80 and got the same thing. (I used port 800 becuase > we > > have iplanet using port 80 on the same machine) > > > > Can anybody help? Thanks, > > > > Sylvia > > > > > > --------------------------------------------------------------------- > > 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] > > > > > --------------------------------------------------------------------- > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]