RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^\tata.html$ /file.html
OK, on the RewriteBase part, you got to put your subdirectory
RewriteBase /sub1/
Then
RewriteRule ^tata.html$ file.html
should work...but I would have to test it...you just want to rewrite tata.html to file.html, correct?
|