wood burning stoves*
The moose likes Tomcat and the fly likes apache 2.0.48 with Tom 5.5.9 issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "apache 2.0.48 with Tom 5.5.9 issue" Watch "apache 2.0.48 with Tom 5.5.9 issue" New topic
Author

apache 2.0.48 with Tom 5.5.9 issue

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: apache 2.0.48 with Tom 5.5.9 issue
 
Similar Threads
Session lost due to....?
Trouble integrating Apache HTTP server with Tomcat
Trouble integrating Apache HTTP server with Tomcat
getting set up apache/tomcat
The Apache2 service terminated error