Dolphin 6.0.0003
Does anyone have a good working .htaccess that will disallow/redirect a browser if a person happens to try browsing files/folders such as:
mysite.com/plugins
mysite.com/ray
mysite.com/ray/modules/movie/files
Etc...You name it anything a person doesn't really need to be looking at I want the .htaccess to bring them back to the home page.
I do have friendly permalinks with mod rewrite user profiles to username, enabled.
I can get it to somewhat work, but then the mod rewrite wont rewrite profiles, or ray widgets stop working, or a 500 error so I am forced to change it back.
I have the normal .htaccess for dolphin like this:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
</IfModule>
Under that I have some redirects
Then deny from ip's
Thanks.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks