Re: Apache error if using Basic AuthType under Location directive

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

 



On 15-Nov-2009, at 12:22, Eric Covener wrote:
> On Sun, Nov 15, 2009 at 11:42 AM, Iacopo Benesperi <iacchi@xxxxxxxxxx> wrote:
>> Eric Covener ha scritto:
>>> As the error message says, You can't put <location> in htaccess.  It's
>>> got nothing to do with what's inside the <location>.
>> 
>> So where can I use the location directive?
> 
> Inside the configuration file read by Apache at startup (nominally
> httpd.conf, but may be a series of files in your installation)

Inside ANY of the configuration files, to be clear. Users generally have a specific conf file in /etc/httpd/user/user.conf and this is what you would need to put a <Location> in.

To do hat you want though, the simplest solution is to put a htaccess file in the folder you want to protect.


-- 
"It's like those French have a different word for *everything*" -
	Steve Martin


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