- I have a subdomain: lala.example.com which points to example.com/somedir
- I have a .htaccess file within my example.com/somedir which contains:
Code:RewriteEngine On RewriteRule ^([0-9A-Za-z\-\/]+)/?$ cat.php?p=$1 [L]
- When I go to lala.example.com it loads the correct index.php file which resides within example.com/somedir
- When I go to lala.example.com/StupidDir it gives me a 404 saying that the file doesn't exist (cat.php that is).
So from the above information I'm assuming mod_rewrite works a lot different when used with subdomains ?