tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hatim" <>
Subject tomcat and rewrite
Date Fri, 01 Dec 2000 08:54:34 GMT
hello all
i m french , so excuse me for my bad english !
i m tying to use the rewrite module to rewrite adresses like to
i m using apache 1.3 and tomcat 3.2b6
i can see in my browser a .jsp from a normal url like
when i stop tomcat , and i use just apache , the rewrite work very well , i
can see the source code of the jsp in my browser ..

but when i started tomcat and apache ,and after clicking on  i find this error in the tomcat logs
2000-11-30 12:23:11 - Ctx( /toto ): 404 R( /toto + /~hatim/toto.jsp + null)
JSP file not found

for infomation :

in the httpd.conf  i have
LoadModule jserv_module          libexec/
LoadModule rewrite_module     modules/
AddModule mod_jserv.c
AddModule mod_rewrite.c
include /app/jakarta-tomcat/conf/tomcat-apache.conf

RewriteEngine on
RewriteLogLevel 9
RewriteLog logs/rewrite.log
RewriteRule ^/toto/~([^/]+)/(.*\.jsp)$ /toto/jsp/$2?D121DN=$1 [PT,QSA]

 thank you very much for your help


View raw message