
Originally Posted by
jedaisoul
1. Why are you trying to hide the .php extension?
2. Why is your site in httpdocs instead of public_html?
3. Why specify index.php in the first place? It should work without. If it doesn't, see 2 above...
What does that have anything to do with the original question?
To the OP,
(1) are you sure you have mod_rewrite turned on on your server? (Also, where's the RewriteEngine On line in your .htaccess file?)
(2) Your second RewriteCond is saying if the requested file is not a file (by virtue of !-f), I think you meant to say if the requested file is not a directory by using !-d).
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
awesome.
Bookmarks