Forum Moderators: phranque
Working with Apache v1.3.33 on Linux (on a host service).
I want to redirect:
'http://www.mydomain.com/foo/file' to
'http://www.mydomain.com/foo/file.php'
I made on my '.htaccess' within 'http://www.mydomain.com/foo/':
----------
RewriteEngine On
RewriteBase /foo
RewriteRule ^/file /file.php [QSA,L]
------------
But it doesn't work. I get a '404 Error':
------
Not Found
The requested URL /foo/file was not found on this server.
------
What am I doing wrong? Thank you very much.