Hi there,
I can protecat a location with a password like so:
location "/some/secret/location/*" {
directory index index.php
authenticate with "/path/to/the/htpasswd/file"
}
this works if I request
https://my.domain.tld/some/secret/location/
and it will ask for the password but if I request
https://my.domain.tld/some/secret/location/index.php
It will simply load the site without asking for credentials.
So how do I prevent the access over a full url ???
Regards
--
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