Ok so hello! This is my first post on htaccesselite.com and i hope it proves to be a good one.
Before i tell you what my problem is, i will show you my current code.
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^index\.php$
RewriteRule (.*) /index.php?p=$1 [L]
</IfModule>
My problem:
When ever i go to say mydomain.com/wankernerer
Obviously my PHP script will present a 404 page because it can't select that page from the database (because it dosen't exist)
But if i physically created the direcotry wankernerer i am still presented with the same 404 page because HTACCESS is telling my script to look for that page.
So basiclly, my question is: How to i get .htaccess to realise that there is a directory there, and to directory list it's contents?