[users@httpd] .htaccess file reading...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

ok, quick question. I want to make some configuration changes so that the whole directory path is not walked to look for .htaccess files to improve performance.

I currently have a custom module that I have made that sets the Document root based on host names, and it is a relatively long path.

The path usually looks something like this :

/shared/accounts/d/o/m/a/domain.com/site/htdocs

Now, I know that there won't be the need for any .htaccess files for anywhere above the "site" directory, but I want users to be able to use them in the "site" and "htdocs" directory.

Is there a way to tell apache to allow this in these couple of directories without specifically naming these full directories ? Since the Document root paths are set in my apache module, I can't put a <Directory> tag for each directory.

Would <DirectoryMatch> do it ??? would that prevent apache from looking for

/.htaccess
/shared/.htaccess
/shared/accounts/.htaccess
/shared/accounts/d/.htaccess

etc...

Or will I have to figure out how to set those configurations within the apache modules ???

Thanks,

Tim.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux