Good day I currently have .htaccess on by default in my apache config. As a result, if you do a strace, you see the following example.stat64("/var/www/vb/css/dhtml_menu.css", {st_mode=S_IFREG|0644, st_size=10025, ...}) = 0 open("/var/www/.htaccess", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/var/www/vb/.htaccess", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/var/www/vb/css/.htaccess", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/var/www/vb/css/dhtml_menu.css/.htaccess", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOTDIR (Not a directory)
open("/var/www/vb/css/dhtml_menu.css", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 30I would like to look to minimizing all these look ups for a non existing file.
I unfortunately cannot disable htaccess all together, for I need htaccess to do various tasks in various locations.
I did a quick find to locate all my htaccess's. /var/www/news/.htaccess /var/www/blogs/.htaccess /var/www/classifieds/data/11/thumbs/.htaccess /var/www/general/.htaccess /var/www/nephp/.htaccess /var/www/photos/data/.htaccess /var/www/vb/clientscript/ckeditor/.htaccess /var/www/events/.htaccessThe question I would like to ask is. If I set 'AllowOverride None' for /var/www. How would I enable for, say. '/var/www/news/', but not all its sub directories.
I hope I have explained my situation and question clearly, but if not, please dont hesitate to ask me to rephrase.
Thank you if you can help. Regards Brent Clark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx