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]

Reply via email to