Re: [users@httpd] Error message "LocationMatch not allowed here"

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

 



On 6/12/06, Jesse Ross <jross@xxxxxxxxxxxxx> wrote:
Hello BP,

You're right - this is a question of what is allowed in .htaccess files.
  Check out http://httpd.apache.org/docs/1.3/mod/core.html#locationmatch,
and look at the "Context" section.  Since it doesn't include .htaccess,
you can't use a LocationMatch in a .htaccess file.  There isn't any
AllowOverride which will change this.

And in addition, trying to use <LocationMatch> in an .htaccess file
indicates a problem anyway.  <LocationMatch> should be used only for
resources that don't live in the filesystem.  .htaccess, on the other
hand, is used only for resources that do live in the filesystem.

Joshua.

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