RewriteEngine not working in (my) apache2
Hi!
This (testing) redirection does not seem to be working (in
apache2.conf):
RewriteEngine on
RewriteLogLevel 9
RewriteLog /tmp/rewrite.log
RewriteRule ^/foo(.*) /test/foo.html
(so e.g. if page /foop is requested, /test/foo.html should be returned)
I installed apache2 (sarge), sudo a2enmod rewrite, sudo apache2ctl
graceful, nothing gets printed in rewrite.log (it is created though).
error.log:
[Thu Sep 28 16:19:40 2006] [error] [client xxxxxxxx] File does not
exist: /var/www/foop
Any clues?
Thanks,
Kaj
--
Kaj Wiik <kaj.wiik@iki.fi>
Reply to: