tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shailaja Someshwar <>
Subject Not Found(404) for virtual hosts
Date Wed, 27 Dec 2000 12:58:30 GMT
Hello All,

I am working on Tomcat 3.2.1 + mod_jk + apache 1.3.14
on RH 6.2. I've followed the mod_jk howto and
everything was working OK until when I a trying to
extend servlets support for virtual hosts.

added the following into server.xml

            <Parameter name="handler"
            <Parameter name="port" value="8009"/>
       <Host name="">
       <Context path=""
docBase="/home/test2/public_html" debug="0"/>

added in httpd.conf

LoadModule    jk_module  libexec/
AddModule     mod_jk.c
JkWorkersFile /opt/tomcat/conf/
JkLogFile     /var/log/httpd/mod_jk.log
JkLogLevel    debug

Include /opt/tomcat/conf/mod_jk.conf-auto

    User test2
    Group test2    
    DocumentRoot /home/test2/public_html
    JkMount /*.jsp ajp12
    JkMount /servlet/* ajp12

I've created a folder servlet under
/home/test2/public_html and put my servlets over there
but I get a 404 not found when I try to access
I tried changing ajp12 to ajp13 but no luck.

JSP is working fine.

What more needs to be done.
I would appreciate any help.

Thanks in advance.


Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.

View raw message