I have mod rewrite working perfectly fom my main folder but I have another folder called admin with an index.php page in there with other pages.
I am having trouble with my mod rewrite so when I enter www.mydomain.com/admin/ it's not opening the index.php page within the admin directory
Here is my .htaccess file
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^([A-Za-z0-9\-_]+)/?$ index.php?page=$1
RewriteRule ^gallery/([A-Za-z0-9\-_]+)/([0-9]+)/?$ index.php?page=$1&id=$2
RewriteRule ^([A-Za-z0-9]+)/([0-9\-_]+)/?$ index.php?page=$1&pagenum=$2
RewriteRule ^admin/([A-Za-z0-9\-_]+)/?$ admin/index.php?page=$1 [L]
When i try to access the admin folder the url says that it's opended the admin folder but the main index.php in the home directory is still listed