Forum Moderators: phranque
LoadModule rewrite_module modules/mod_rewrite.so
2. modules/mod_rewrite.so is available on my system.
3. To test mod rewrite I created a .htacces file under /var/www/html/test/
with the following lines
Code:
RewriteEngine On
RewriteRule ^check\.php$ /phpinfo.php [L]
I have the file /var/www/html/phpinfo.php present. Now trying to access the page at www.example.com/test/check.php gives a 404 error while www.example.com/phpinfo.php gets me the required page.
So mod_rewrite is not working.
Hrrmff!
Make sure you have the proper AllowOverrides and Options settings needed to enable mod_rewrite.
Jim