Apache2's DocumentRoot and Tomcat5

This is a discussion on Apache2's DocumentRoot and Tomcat5 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Can anybody tell me if the following can be done ? I have SLES9 running Apache2 with Tomcat5. The website that ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-22-2005
crifer
 
Posts: n/a
Default Apache2's DocumentRoot and Tomcat5

Can anybody tell me if the following can be done ?
I have SLES9 running Apache2 with Tomcat5. The website that I need to
host is all made out of JSPs. There is no html !

Everything works great:
http://mydoamin.lan = Apache test page
http://mydomain.lan/webapp = Tomcat Servlet/JSP content

I need http://mydomain.lan to serve up the Tomcat Servlet/JSP content.

Right now if I replace DocumentRoot "/srv/www/htdocs" with
"/srv/www/tomcat/webapp" I get the following:

No Host matches server name 192.168.100.235
Your browser sent a request that this server could not understand.
Additionally, a 400 Bad Request error was encountered while trying to
use an ErrorDocument to handle the request.

Tomcat's mod_jk.co connector is working.

I just need to know where to start looking: Apache's httpd.conf,
default-server.conf... Tomcat server.xml...

Thanks.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0