Hi there!

I am very new to tomcat and I have a little problem
serving pages...

After the installation of tomcat, mod_jk and openbd
everything was fine. The manager worked and so on.

Now I tried to connect a Domains via the vhost setting
in apache2 to tomcat.

When I go to the domain www.testdomain.org I can
see the directoryindex of /var/www/www.testdomain.org/
but when I click on a file (doesn't matter if .jsp, .cfm or
.html) I come to a 404 tomcat page... I have the logs
down to debug but I cannot see in what directory the
tomcat is searching for the files...

And: clicking on a .css file brings the content throu
apache2... but .html is not! (as i have only the .cfm,
.jsp and that stuff given to tomcat

part of my apache2.conf (debian)

<IfModule !mod_jk.c>
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
</IfModule>

<IfModule mod_jk.c>
JkMount /*.cfm ajp13
JkMount /*.cfc ajp13
JkMount /*.do ajp13
JkMount /*.jsp ajp13
JkMount /*.cfchart ajp13
JkMount /*.cfres ajp13
JkMount /*.cfm/* ajp13
JkMount /*.cfml/* ajp13
JkMountCopy all
JkLogLevel info
JkLogFile /var/log/apache2/mod_jk/mod_jk.log
</IfModule>

an my server.xml

  <Host name="www.testdomain.org"
 appBase="webapps"
unpackWARs="true"
autoDeploy="true"
xmlValidation="false"
xmlNamespaceAware="false">
<Context path=""
docBase="/var/www/www.testdomain.org/htdocs/"
allowLinking="true"
debug="9"
 reloadable="true" />
</Host>

I really need help!

Thanks a lot

Regards
Christian

Reply via email to