how to hide folder and file extension in rul
for example, display "www.mysite.com/doit" in stead of "www.mysite.com/myfiles/doit.php". i have tried to add following lines in the www.mysite.com/, also tried to add the .htaccess file in "myfiles" folder, but they don't work.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /doit /myfiles/doit.php/$1 [L]
thanks