I read the documentation that you pointed out. I was confused as the bulleted 
list below this statement said you could put the context element inside a 
hostname tag in the server.xml. So I commented it out and restarted 
tomcat/apahce and I got a 404. I uncommented it out and restarted and go the 
same thing I had before -- the 400. I think this is a permissions issue. 
Without the redirecting index.html I get a 403. Now with the redirect I can hit 
an html page but the redirect won't work (bec of the 403 in trying to hit the 
jsp pages directly????) hence the 400. But I have no idea what else to check. 
Could the permissions in the directories conflict with the main documentation 
directory (htdocs) directory permissions? I need another pair of eyes and my 
pair are the only ones here. 

Again, in httpd.conf I have:
<Directory />
   Options FollowSymLinks
   AllowOverride None
    Order deny,allow
      Deny from all
</Directory>

On down in the httpd.conf I have:
<Directory "C:/apache/htdocs">    
    Options -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

In the virtual host file (called from the httpd.conf file) I have for the 
tomcat app:
<Directory "F:/tomcat/webapps/app1/">
      AllowOverride None
     Order Allow,Deny
     Allow from All
   </Directory>

So would the coordination of the above be causing a conflict that prevents me 
from getting to the java app on tomcat? I mean with the above I can get to the 
html files in F:/tomcat/webapps/app1/

Thanks, again


> Subject: RE: mod_jk/apache+tomcat/400 bad request
> Date: Thu, 21 Feb 2008 09:25:42 -0600
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> 
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] 
> > Subject: RE: mod_jk/apache+tomcat/400 bad request
> > 
> > You might want to put a <Context> element into your 
> > server.xml inside the relevant <Host>:
> 
> Perhaps you haven't been keeping up with the last few years of Tomcat
> releases.  As noted, in bold, in the Tomcat docs:
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> 
> "For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to place
> <Context> elements directly in the server.xml file."
> 
> That statement has been in there since the 5.0 days.
> 
> - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/

Reply via email to