inden jeg poster alle mulige konfigurations-afsnit, så har jeg måske en ide..
Hvad er det som afgør hvad der kommer med i den autogenererede "jk_mod.conf" under /conf/auto/ ?
når tomcat'en genstartes genereres denne fil..
jeg kan se at under virtual host containeren står der en masse, men under
www.gloom.dk containeren står der stort set intet:
mod_jk.conf
-----------
########## Auto generated on Sat Feb 10 10:24:49 CET 2007##########
<IfModule !mod_jk.c>
LoadModule jk_module "C:/Programmer/Apache Group/Apache2/modules/mod_jk.dll"
</IfModule>
JkWorkersFile "C:/Programmer/Apache Group/Tomcat4/conf/jk/workers.properties"
JkLogFile "C:/Programmer/Apache Group/Tomcat4/logs/mod_jk.log"
JkLogLevel emerg
<VirtualHost
www.gloom.dk> ServerName
www.gloom.dk</VirtualHost>
<VirtualHost localhost>
ServerName localhost
#################### localhost:/manager ####################
# Static files
Alias /manager "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/manager"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/manager">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/manager/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/manager/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/manager/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/manager/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /manager/*.jsp ajp13
JkMount /manager/html/* ajp13
JkMount /manager/deploy ajp13
JkMount /manager/serverinfo ajp13
JkMount /manager/undeploy ajp13
JkMount /manager/resources ajp13
JkMount /manager/remove ajp13
JkMount /manager/start ajp13
JkMount /manager/sessions ajp13
JkMount /manager/reload ajp13
JkMount /manager/list ajp13
JkMount /manager/stop ajp13
JkMount /manager/install ajp13
JkMount /manager/roles ajp13
#################### localhost:/webdav ####################
# Static files
Alias /webdav "C:/Programmer/Apache Group/Tomcat4/webapps/webdav"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/webdav">
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/webdav/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/webdav/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/webdav/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/webdav/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /webdav/*.jsp ajp13
JkMount /webdav/* ajp13
#################### localhost:/examples ####################
# Static files
Alias /examples "C:/Programmer/Apache Group/Tomcat4/webapps/examples"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/examples">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/examples/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/examples/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/examples/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/examples/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /examples/jsp/security/protected/j_security_check ajp13
JkMount /examples/servletToJsp ajp13
JkMount /examples/*.jsp ajp13
JkMount /examples/snoop ajp13
JkMount /examples/SendMailServlet ajp13
JkMount /examples/servlet/* ajp13
JkMount /examples/CompressionTest ajp13
#################### localhost:/tomcat-docs ####################
# Static files
Alias /tomcat-docs "C:/Programmer/Apache Group/Tomcat4/webapps/tomcat-docs"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/tomcat-docs">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/tomcat-docs/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/tomcat-docs/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/tomcat-docs/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/tomcat-docs/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /tomcat-docs/*.jsp ajp13
#################### localhost:/test ####################
# Static files
Alias /test "C:/Programmer/Apache Group/Tomcat4/webapps/test"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/test">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/test/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/test/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/test/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/test/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /test/*.jsp ajp13
#################### localhost:/admin ####################
# Static files
Alias /admin "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/admin"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/admin">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/admin/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/admin/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/admin/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/../server/webapps/admin/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /admin/j_security_check ajp13
JkMount /admin/*.jsp ajp13
JkMount /admin/*.do ajp13
</VirtualHost>
------------------------------
jeg ville da gå udfra at der under
www.gloom.dk skulle stå noget i den her stil:
<VirtualHost
www.gloom.dk> ServerName
www.gloom.dk ####################
www.gloom.dk:/test ####################
# Static files
Alias /test "C:/Programmer/Apache Group/Tomcat4/webapps/test"
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/test">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>
# Deny direct access to WEB-INF and META-INF
#
<Location "/test/WEB-INF/*">
AllowOverride None
deny from all
</Location>
<Location "/test/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/test/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "C:/Programmer/Apache Group/Tomcat4/webapps/test/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /test/*.jsp ajp13
</VirtualHost>
----
mit spørgsmål er så, at efter som denne fil er autogenereret, må det jo være et andet sted der skal ændres noget, for at den bliver genereret rigtigt?
vil du præcisere hvad det er for nogle konfigurations-afsnit du gerne vil se, så poster jeg dem. Ingen grund til at jeg smider alt muligt op som du alligevel ikke kan se noget ud af :)