Forum Moderators: phranque

Message Too Old, No Replies

Rewrite in Apache2

Migration issue from apache 1.33

         

gaouzief

11:51 am on May 24, 2005 (gmt 0)

10+ Year Member



hello,
we are migrating from apache 1.3 to Apache2.0.*

One of our Rewrite statements though extremely simple is not working with apache2 (mod_rewrite IS loaded):

#rewriting urls
RewriteEngine On
#sending all to index.php
RewriteRule ^index/(.*) /index.php?$1

in the error Log i get this
[Tue May 24 13:33:30 2005] [error] [client IPHERE] File does not exist: /Path/To/DocumentRoot/index

What am i doing wrong?

gaouzief

12:20 pm on May 24, 2005 (gmt 0)

10+ Year Member



OOPS,

Problem fixed,The issue was with a missing AllowOverride All in httpd.conf

Sorry for the noise