On 15-Nov-2009, at 12:22, Eric Covener wrote:
> On Sun, Nov 15, 2009 at 11:42 AM, Iacopo Benesperi <[email protected]> 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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]