I installed TomCat 4 with the self extraction.exe and followed the instructions on the JohnTurner.com website to install it.
I then installed the Mod_jk connector, and configured the httpd.conf in apache as per the instructions. The problem is I cannot go anywhere on port 8080 or anything with tomcat at all when trying to access via web browser.
I created a JSP sample and placed in the webspace, and all I am prompted for is to open or save the file. It does not parse it.
The Server is an Windows 2000 box. I have 5 virtualhosts setup for web space (web1-5) on 5 IP's, plus the ip for the machine and local host.
Below is the sections in httpd.conf which are for tomcat.
Listen x.x.x.33:80 Listen x.x.x.1:80 Listen x.x.x.2:80 Listen x.x.x.3:80 Listen x.x.x.4:80 Listen x.x.x.5:80 Listen localhost:80 Listen localhost:8080 Listen localhost:8009 Listen localhost:8008 Listen 80 Listen 8080 Listen 8008 Listen 8009
LoadModule jk_module D:/IBserver/apache/modules/mod_jk.dll AddModule mod_jk.c DocumentRoot "D:/IBserver/www
<VirtualHost localhost> ServerAdmin [EMAIL PROTECTED] DocumentRoot D:/IBserver/www ServerName localhost ErrorLog logs/localhost.com-error_log CustomLog logs/localhost.com-access_log common </VirtualHost>
<VirtualHost xxxxxxxxx.33> ServerAdmin [EMAIL PROTECTED] DocumentRoot D:/IBserver/www ServerName x.x.x.33 ErrorLog logs/x.33.com-error_log CustomLog logs/x.33.com-access_log common </VirtualHost>
<VirtualHost x.x.x.1> ServerAdmin [EMAIL PROTECTED] DocumentRoot D:/IBserver/www/web1 ServerName x.x.x.1 ErrorLog logs/x.1.com-error_log CustomLog logs/x..1.com-access_log common </VirtualHost>
Include d:/IBserver/tomcat4/conf/auto/mod_jk.conf
--- mod_jk.conf ---
<VirtualHost localhost> ServerName localhost
#################### localhost:/admin ####################
# Static files Alias /admin "D:/IBserver/tomcat4/webapps/../server/webapps/admin"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/../server/webapps/admin/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/../server/webapps/admin/META-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "/web_app/tomcat/webapps"> Options Indexes FollowSymLinks </Directory> JkMount /* ajp13 <Location "/WEB-INF/"> AllowOverride None deny from all </Location> JkMount /*.jsp ajp13 JkMount /*.do ajp13
#################### localhost:/webdav ####################
# Static files Alias /webdav "D:/IBserver/tomcat4/webapps/webdav"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/webdav/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/webdav/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /webdav/*.jsp ajp13
#################### localhost:/examples ####################
# Static files Alias /examples "D:/IBserver/tomcat4/webapps/examples"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/examples/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/examples/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/snoop ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/servletToJsp ajp13 JkMount /examples/SendMailServlet ajp13
#################### localhost:/tomcat-docs ####################
# Static files Alias /tomcat-docs "D:/IBserver/tomcat4/webapps/tomcat-docs"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/tomcat-docs/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/tomcat-docs/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /tomcat-docs/*.jsp ajp13
#################### localhost:/manager ####################
# Static files Alias /manager "D:/IBserver/tomcat4/webapps/../server/webapps/manager"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/../server/webapps/manager/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/../server/webapps/manager/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /manager/list ajp13 JkMount /manager/deploy ajp13 JkMount /manager/html/* ajp13 JkMount /manager/resources ajp13 JkMount /manager/start ajp13 JkMount /manager/stop ajp13 JkMount /manager/install ajp13 JkMount /manager/*.jsp ajp13 JkMount /manager/remove ajp13 JkMount /manager/roles ajp13 JkMount /manager/sessions ajp13 JkMount /manager/serverinfo ajp13 JkMount /manager/reload ajp13 JkMount /manager/undeploy ajp13 </VirtualHost>
<VirtualHost localhost> ServerName localhost
#################### localhost:/admin ####################
# Static files Alias /admin "D:/IBserver/tomcat4/webapps/../server/webapps/admin"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/../server/webapps/admin/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/../server/webapps/admin/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /admin/j_security_check ajp13 JkMount /admin/*.do ajp13 JkMount /admin/*.jsp ajp13
#################### localhost:/webdav ####################
# Static files Alias /webdav "D:/IBserver/tomcat4/webapps/webdav"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/webdav/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/webdav/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /webdav/*.jsp ajp13
#################### localhost:/examples ####################
# Static files Alias /examples "D:/IBserver/tomcat4/webapps/examples"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/examples/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/examples/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/snoop ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/servletToJsp ajp13 JkMount /examples/SendMailServlet ajp13
#################### localhost:/tomcat-docs ####################
# Static files Alias /tomcat-docs "D:/IBserver/tomcat4/webapps/tomcat-docs"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/tomcat-docs/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/tomcat-docs/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /tomcat-docs/*.jsp ajp13
#################### localhost:/manager ####################
# Static files Alias /manager "D:/IBserver/tomcat4/webapps/../server/webapps/manager"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/../server/webapps/manager/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/../server/webapps/manager/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /manager/list ajp13 JkMount /manager/deploy ajp13 JkMount /manager/html/* ajp13 JkMount /manager/resources ajp13 JkMount /manager/start ajp13 JkMount /manager/stop ajp13 JkMount /manager/install ajp13 JkMount /manager/*.jsp ajp13 JkMount /manager/remove ajp13 JkMount /manager/roles ajp13 JkMount /manager/sessions ajp13 JkMount /manager/serverinfo ajp13 JkMount /manager/reload ajp13 JkMount /manager/undeploy ajp13 </VirtualHost>
<VirtualHost localhost> ServerName localhost
#################### localhost:/admin ####################
# Static files Alias /admin "D:/IBserver/tomcat4/webapps/../server/webapps/admin"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/../server/webapps/admin/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/../server/webapps/admin/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /admin/j_security_check ajp13 JkMount /admin/*.do ajp13 JkMount /admin/*.jsp ajp13
#################### localhost:/webdav ####################
# Static files Alias /webdav "D:/IBserver/tomcat4/webapps/webdav"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/webdav/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/webdav/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /webdav/*.jsp ajp13
#################### localhost:/examples ####################
# Static files Alias /examples "D:/IBserver/tomcat4/webapps/examples"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/examples/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/examples/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /examples/jsp/security/protected/j_security_check ajp13 JkMount /examples/snoop ajp13 JkMount /examples/servlet/* ajp13 JkMount /examples/CompressionTest ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/servletToJsp ajp13 JkMount /examples/SendMailServlet ajp13
#################### localhost:/tomcat-docs ####################
# Static files Alias /tomcat-docs "D:/IBserver/tomcat4/webapps/tomcat-docs"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/tomcat-docs/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/tomcat-docs/META-INF/">
AllowOverride None
deny from all
</Directory>JkMount /tomcat-docs/*.jsp ajp13
#################### localhost:/manager ####################
# Static files Alias /manager "D:/IBserver/tomcat4/webapps/../server/webapps/manager"
<Directory "D:/IBserver/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 "D:/IBserver/tomcat4/webapps/../server/webapps/manager/WEB-INF/">
AllowOverride None
deny from all
</Directory>
<Directory "D:/IBserver/tomcat4/webapps/../server/webapps/manager/META-INF/">
AllowOverride None
deny from all
</Directory>
JkMount /manager/list ajp13 JkMount /manager/deploy ajp13 JkMount /manager/html/* ajp13 JkMount /manager/resources ajp13 JkMount /manager/start ajp13 JkMount /manager/stop ajp13 JkMount /manager/install ajp13 JkMount /manager/*.jsp ajp13 JkMount /manager/remove ajp13 JkMount /manager/roles ajp13 JkMount /manager/sessions ajp13 JkMount /manager/serverinfo ajp13 JkMount /manager/reload ajp13 JkMount /manager/undeploy ajp13 </VirtualHost>
_________________________________________________________________
MSN� Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN� Premium right now and get the first two months FREE*.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
