You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christophe Andreoli <an...@gsf.de> on 2004/06/08 15:41:10 UTC

tomcat url rewriting protblem

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org