• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

apache 2.0.48 with Tom 5.5.9 issue

 
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic