and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
(I'm on Mac OS10.5)
Ok, I ran phpinfo() and it shows that mod_rewrite module is loaded.
Next, I created .htaccess and put in the top directory
[syntax="apache"]RewriteEngine On
RewriteRule ^old\.php$ new.php
There would get a 404 Not Found error when I try to load old.php
The requested URL /~teohyc/htdocs/chilli/old.php was not found on this server.
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]