I simply just don want the client to access files from subdirectories directly, just by RewriteRule.
Example:
http://www.page.com/dostuff /dostuff should be rewritten to /php/dostuff.php and interpreted
but
http://www.page.com/php/dustuff.php will recieve 404
The problem is when I rewrite to the directory, the .htaccess will be executed for the subdirectory and I will allways get 404. I would like a solution without .htaccess for each subdirectory
here's my rule:
RewriteRule ^dostuff$ /php/dostuff.php [L]
RewriteRule ^css/(.*)$ /html/css/$1 [L]
RewriteRule ^js/(.*)$ /html/js/$1 [L]
Greets
luni