hi
this is my htacess file
it works fine and if i type http://www.mysite.com/includes/ it is redirected to my index.php as i hav written in the rule..
but if i type as http://www.mysite.com/Admin/images/ my directory is getting listed .,
its not fine right.,it should also be redirected to somewhere else.
so how can i stop this..
thanks
vijay
this is my htacess file
Code:
Options +FollowSymLinks RewriteEngine on RewriteRule videos/(.*)/$ all.php?i=$1 RewriteRule gallery/(.*)/$ gallery/index.php?i=$1 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/Admin RewriteCond %{REQUEST_URI} !^/news RewriteCond %{REQUEST_URI} !^/gallery RewriteCond %{REQUEST_URI} !^/xampp RewriteRule ^ http://www.mysite.com/index.php
but if i type as http://www.mysite.com/Admin/images/ my directory is getting listed .,
its not fine right.,it should also be redirected to somewhere else.
so how can i stop this..
thanks
vijay
Comment