On 11/14/05, Peter.Neu@xxxxxxx <Peter.Neu@xxxxxxx> wrote: > Hello, > > I'm still struggling with the mod_rewrite module in combination with the > tomcat server. > > I changed my configuration to this: > > LoadModule rewrite_module /usr/lib/apache2/mod_rewrite.so > RewriteEngine on > RewriteLog /var/log/apache2/mod_rewrite.log > RewriteLogLevel 2 > RewriteRule ^/pnbw/postHv\.html$ /nothing.htm > > But it still does not work. The log output tells me this: > > [rid#8182058/initial] (2) init rewrite engine with requested uri > /pnbw/postHv.html > [rid#8182058/initial] (2) rewrite /pnbw/postHv.html -> /nothing.htm > [rid#8182058/initial] (2) local path result: /nothing.htm > [rid#8182058/initial] (2) prefixed with document_root to /nothing.htm > [rid#8182058/initial] (1) go-ahead with /nothing.htm [OK] > > This looks like it works. But in the browser window I still see the url I > wanted to have replaced. > > Does anybody have an idea what could be wrong? If you want "/nothing.htm" to appear in the browser's location bar, then add [R] to the end of the RerwriteRule. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx