• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apache 2.0.48 with Tom 5.5.9 issue

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I connected tomcat with apache. Everything is running fine with the expection of when I enter the url x.localhost.localdomain it is directed to the Apache Tomcat/5.5.9 startup page rather than my /X/Login.jsp page if I enter x.localhost.localdomain/X I am directed to the right page. Im wondering where I went wrong. Thank you for your time


I have the following in my httpd.conf

<VirtualHost *:80>
ServerName x.localhost.localdomain
Alias /X "/var/jakarta/webapps/X"
DocumentRoot "/var/jakarta/webapps/X"

<Directory "/var/jakarta/webapps/X">
Options FollowSymLinks
DirectoryIndex /X/Login.jsp
Allow from all
</Directory>

<Location "/X/WEB-INF/*">
AllowOverride None
deny from all
</Location>

<Location "/x/META-INF/*">
AllowOverride None
deny from all
</Location>

<Location '/X/*.do'>
JkUriSet worker ajp13:localhost:8009
</Location> ...

And the following in my workers2.properties

[channel.socket:localhost:8009]
info=Forwarding over socket connection to localhost tomcat instance
host=localhost
port=8009
tomcatId=TC5

[ajp13:localhost:8009]
info=AJP13 worker, connects to tomcat instance using AJP 1.3 protocol
channel=channel.socket: TC5

Im using mod_jk2
[ September 13, 2005: Message edited by: john mattucci ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic