Hi,


I am using Apache 2, Tomcat 4.1.29 and the ajp13 connector (under Fedora FC1) to connect Apache and Tomcat together. I have a problem with the .htaccess directives for .jsp files. In the httpd.conf config, AllowOverride is set to All in order to process the directives that I put in the .htaccess file. The redirection directives works fine for all kind of files (html, jpg,...) but .jsp pages. The problem seems to be that the .htaccess directives used for redirecting some specific .jsp requests are ignored by Apache who transmits directly the request to Tomcat.

For instance, if I want Apache to redirect the files file1.html and file1.jsp to respectively file2.html and file2.jsp, I put the following directives in my .htaccess file in the same directory:

Redirect /file1.html http://mywebsite.com/file2.html
Redirect /file1.jsp http://mywebsite.com/file2.jsp

The first redirection works perfectly fine (i.e. http://mywebsite.com/file1.html is redirected to http://mywebsite.com/file2.html), but the second redirection fails. I cannot manage to redirect http://mywebsite.com/file1.jsp to http://mywebsite.com/file2.jsp.

Can anyone help ? It seems to me that the JkMount /*.jsp wrkr directives has full priority over the redirection mechanism of .htaccess files ?

Thanks in advance for your help.

Francois




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to