Re: Apache error if using Basic AuthType under Location directive

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

 



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)

> Or, better: what should I
> write in the .htaccess to write a rule based on the url and not on the
> folder (<directory>)? Is there a way to protect the url the way I want?

No clue if you can't modify the configuration and the location of the
htaccess isn't related to the files you want to protect.


-- 
Eric Covener
covener@xxxxxxxxx

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