-------- Original Message --------
Subject: tomcat url rewriting protblem
Date: Tue, 08 Jun 2004 15:41:10 +0200
From: Christophe Andreoli <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Organization: Institute of Human Genetics
To: Tomcat Users List <[EMAIL PROTECTED]>


Hello !


I just would like to redirect /mitop to /mitop2


I wrote in httpd.conf


RewriteEngine On RewriteLog "/logs/rewrite.log" RewriteRule ^/mitop /mitop2


I doesn't work and when I look at access.log , I see:




[08/Jun/2004:15:38:35 +0200]

  - - [08/Jun/2004:15:38:35 +0200] "GET /mitop HTTP/1.1" 302 659
- - [08/Jun/2004:15:38:35 +0200] "GET /mitop/ HTTP/1.1" 302 659
  - - [08/Jun/2004:15:38:35 +0200] "GET /mitop/start.jsp HTTP/1.1" 200


I seems that /mitop is rather redirected to /mitop/start.jsp

due to the welcome-file tag in web.xml

<welcome-file-list>
     <welcome-file>start.jsp</welcome-file>
   </welcome-file-list>


Do you know how I can redirect rather to /mitop2 ?



     Thanks !



  Christoph


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



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



Reply via email to