Rwad about "Satisfy any"
On 25/01/2013 12:46 AM, "Brent Clark" <brentgclarkl...@gmail.com> wrote:

> 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)
> = 30
>
> I 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/.htaccess
>
> The 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@httpd.**apache.org<users-unsubscr...@httpd.apache.org>
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to