Hello List,

It's been a relatively easy fight so far, but I'm stuck. Apache1.3.26 /
TC4.1.12 integration w/ mod_jk. I need name based virtual host support on
the server. When I access the site, I get an empty directory listing (ie.
Index of /). Apache doesn't forward over the request over to Tomcat.

(btw, if you look at the actual site on the web it does come up at the
moment because I moved the application into apache/htdocs/mediachex and out
of the tomcat/webapps/mediachex , but if I switch that around I get just the
(Index of /) mentioned above.)

Everything seems to be working, it's just the mapping from htdocs/mediachex
to webapps/mediachex part that is not.

Best Regards


>From httpd.conf
===========
<IfModule !mod_jk.c>
  LoadModule jk_module libexec/mod_jk-3.3-ap13-noeapi.so
</IfModule>

<IfModule mod_jk.c>
  JkWorkersFile /usr/local/tomcat/conf/workers.properties
  JkLogFile /usr/local/tomcat/logs/mod_jk.log
  JkLogLevel    debug
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
</IfModule>

NameVirtualHost *
<VirtualHost *>
    ServerName mediachex.com
    ServerAdmin [EMAIL PROTECTED]
    DirectoryIndex index.jsp
    DocumentRoot /usr/local/apache/htdocs/mediachex
    JkMount /mediachex ajp13
    JkMount /mediachex/* ajp13
</VirtualHost>

workers.properties file
===============
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/java/j2sdk1.4.0_01
ps=/
worker.list=ajp12, ajp13

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

server.xml
=======
<Host name="mediachex.com" debug="0" appBase="webapps"  unpackWARs="true">
<Context path="/mediachex" docBase="mediachex" debug="0" reloadable="true"/>
</Host>

mod_jk.log
========
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/'
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done with
out a match
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/index.jsp'
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done with
out a match
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/HEADER'
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done with
out a match
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/README'
[Thu Oct 17 12:43:35 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done with
out a match


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to