Information
- 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?



?



The thing is when I go to lala.example.com/cat.php it loads. I've even tried putting the full path /var/www/html/somedir in my rewriterule to no effect


Bookmarks