You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Richards <nc...@pobox.com> on 2001/10/04 06:42:51 UTC
Virtual Hosts and error in stderr
I found this in my jvm.stderr log anyone know what might be causing it?
Using Tomcat 3.3rc1
Apache 1.3.6 and mod_jk
I'm also having an issue with virtual hosts both hosts seem to be going to
the same DocRoot
pasted the contents of mod_jk.conf if you need anything else let me know.
Thanks
Brian
########## Auto generated on Thu Oct 04 00:27:46 EDT 2001##########
<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.dll
</IfModule>
JkWorkersFile "C:/jakarta-tomcat/conf/jk/workers.properties"
JkLogFile "C:/jakarta-tomcat/logs/mod_jk.log"
JkLogLevel error
#################### /jive ####################
# Static files
Alias /jive "C:/jakarta-tomcat/webapps/jive"
<Directory "C:/jakarta-tomcat/webapps/jive">
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/jive/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/jive/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/jakarta-tomcat/webapps/jive/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/jakarta-tomcat/webapps/jive/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /jive/servlet/* ajp13
JkMount /jive/*.jsp ajp13
NameVirtualHost *
<VirtualHost *>
ServerName dafs.dyndns.org
#################### dafs.dyndns.org:/ ####################
DocumentRoot "E:/csc/492/web"
<Directory "E:/csc/492/web">
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case
matches
#
<Directory "E:/csc/492/web/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "E:/csc/492/web/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
</VirtualHost>
<VirtualHost *>
ServerName animatrix.dyndns.org
#################### animatrix.dyndns.org:/ ####################
DocumentRoot "E:/csc/513/htdocs"
<Directory "E:/csc/513/htdocs">
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case
matches
#
<Directory "E:/csc/513/htdocs/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "E:/csc/513/htdocs/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
</VirtualHost>