We will try to help.  It only took me four months the first time.

||||||||||||||||||||||||||||||||||||||||||||
Shannon Brown
  Internet Technologies Architect
  Business Technologies Advisor
    www.shannonbrown.net
    [EMAIL PROTECTED]
    717.665.5656
|||||||||||||||||||||||||||||||||||||||||||| 

-----Original Message-----
From: Neil Streeter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 4:17 PM
To: Tomcat Users List
Subject: I give up!! - SOMEONE PLEASE HELP!


Let me see if I have this straight!

You can't configure *apache* with mod_webapp and tomcat so that it 
serves .html and .jsp from the same directory - right... (I can't that's 
for sure)

I have tried every configuration possible - thinking that I could get 
the examples working without bypassing apache and using tomcat-only on 
port 8080 (which of course works fine)... I want everything to go 
through apache first... for obvious reasons...

I either get 404 errors from apache that it can't find index.html 
[refering to /usr/local/jakarata/webapps/examples/jsp/index.html] (but 
directly calling a .jsp works fine) -- or I get the apache directory 
listing but .jsp files are not 'interpreted' and apache graciously spits 
back jsp source code as text.. (depending on the order modules are 
loaded in httpd.conf)

I tried the httpd.conf Alias command to alias /examples/ to 
/usr/local/jakarta/webapps/examples... in conjunction with the 
WebAppConnection and WebAppDeploy directives thinking this would solve 
the 404 errors...no go...

I have tried everything in between that I can think of too... but no 
success... My assumption is therefore that we will need to seperate out 
.jsp files from .html files -- much the same way we do with .cgi perl 
files in the 'cgi-bin' directory... correct???

I also have not been able to get 'WebAppInfo /webapp-info' config 
directive to do didly squat...

My server.xml and web.xml are 'out of the box' on jakarta-4.0.2 and a 
newly compiled mod_webapp from the jakarta-tomcat-connectors and 
apr-apache tars... I thought the new version might solve some of my 
problems... nope...

attached - you will find what httpd.conf looks like now... Strangely - I 
could swear that everything was working fine with the 'default' 
httpd.conf that comes with apache (without the Alias - either)... but 
when we customized it for our setup - it quit working...

Am I missing something here?

Many thanks,
ns



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to