Monday, October 02, 2017

[solved]httpd.conf authenticate with question

hi,

was my mistake I forgot the evaluation order is diffrent in httpd.conf!
put the auth location for the general wildcard location.

regards

Markus

Am 02.10.2017 um 19:13 schrieb Michael Hekeler:
>> location "/some/secret/location/*" {
>> directory index index.php
>> authenticate with "/path/to/the/htpasswd/file"
>> }
>>
>
> Can we use "authenticate [realm] with htpasswd" in a location?
>
> From httpd.conf(5) I thought http-Auth is enabled in server
> section and only disabled in location. No?
>

--
Markus Rosjat fon: +49 351 8107223 mail: rosjat@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220 fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
you print it, think about your responsibility and commitment to the
ENVIRONMENT

No comments:

Post a Comment