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

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

 



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.

Take care,
Jesse Ross
Systems Administrator
Broad Institute of MIT and Harvard
jross@xxxxxxxxxxxxx


BP Jonsson wrote:
Dear friends,

I get an error message:

"[alert] [client xxx] /home/account/public_html/.htaccess:
<LocationMatch not allowed here"

The host admin thinks it is a cgi-error, but I'm more
inclined to think it has to do with what directives are
allowed in .htaccess files as described at <
http://httpd.apache.org/docs/1.3/howto/htaccess.html#what>
It seems there should be an AllowOverride directive
somewhere, but where? And what should it look like?  Can I
fix this problem or do I have to have the host admin do it?

I'm aware this may be a FAQ.  I have unsuccessfully looked
around for an answer, but I don't really know how to
formulate the question, so I ask your forgiveness and hope
somebody has some advice.

/BP

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