tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <lan...@tidtilforandring.dk>
Subject URL rewriting and mod_jk
Date Wed, 06 Feb 2008 14:01:48 GMT


 Hi,
 when I use the following:
 Options +FollowSymLinks
 RewriteEngine on
 RewriteRule ^/news/([0-9]+)$ /news/$1/ [R]
 RewriteRule ^/news/([0-9]+)/$ /news.jsp?id=$1
 and I use this URL:
 http://localhost/news/1
 apache-tomcat displays the jsp-page - with source code (html and jsp
code).
 I am using apache-2.2.8 and apache-tomcat-6.0.14 and mod_jk.
 JkAutoAlias    /opt/apache-tomcat-6.0.14/webapps/domainname
 JkMount        /*.jsp default
 JkMount        /*.* default
 JkMount        /servlet/* default  

 As mentioned on several web sites I have loaded mod_jk before
mod_rewrite.   

 What is wrong?  

 Thanks, Lars 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message