Min httpd.conf:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@OOOO.dk
DocumentRoot "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/web"
ServerName
www.OOOO.dk ErrorLog logs/www_OOOO_dk-error.log
CustomLog logs/www_OOOO_dk-access.log common
# Send servlet for context /servlets-examples to worker named example
JkMount /*/servlet/* example
# Send JSPs for context /jsp-examples to worker named example
JkMount /*.jsp example
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@OOOO.dk
DocumentRoot "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/sample"
ServerName OOOO.dk
ErrorLog logs/OOOO_dk-error.log
CustomLog logs/OOOO_dk-access.log common
# Send servlet for context /servlets-examples to worker named example
JkMount /*/servlet/* example
# Send JSPs for context /jsp-examples to worker named example
JkMount /*.jsp example
</VirtualHost>
LoadModule jk_module modules/mod_jk.so
<IfModule mod_jk.c>
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
Alias /jsp-examples "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/jsp-examples"
<Directory "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/jsp-examples/">
Options Indexes +FollowSymLinks
AllowOverride None
Allow from all
</Directory>
Alias /sample "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/sample"
<Directory "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/sample/">
Options Indexes +FollowSymLinks
AllowOverride None
Allow from all
</Directory>
Alias /web "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/web"
<Directory "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/web/">
Options Indexes +FollowSymLinks
AllowOverride None
Allow from all
</Directory>
Alias /servlets-examples "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/servlets-examples/"
<Directory "C:/Programmer/Apache Software Foundation/Tomcat 5.5/webapps/servlets-examples/">
Options Indexes +FollowSymLinks
AllowOverride None
Allow from all
</Directory>
<Location /*/WEB-INF/*>
AllowOverride None
deny from all
</Location>
JkMount /jsp-examples/*.jsp example
JkMount /servlets-examples/* example
JkMount /sample/hello.jsp example
JkMount /web/index.jsp example
JkMount /web/respons.jsp example
JkMount /*.jsp example
</IfModule>
Den peger overhoved ikke hvor jeg har sat den til.... men peger til webapps/root.xml
Der er intet andet i conf/catalina end localhost mappe
ved ikke hvad jeg skal skrive i server.xml alt jeg prøver duer ikke
HELP
jeg har oprettet OOOO.dk som cname og
www.OOOO.dk ved nu hellere ikke om det vil virke i vhost "test" som jeg har gang i...