Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Satisfy any replacement in 2.4 |
|
Author |
|
Qmpeltaty
Joined: 06 Feb 2008 Posts: 182 Location: Poland
|
Posted: Fri 24 Jun '16 17:08 Post subject: Satisfy any replacement in 2.4 |
|
|
Hello
I have a location which i want to be password protected when accessing from any foreign IP than mine
<Location /protected>
AuthType digest
AuthBasicAuthoritative Off
AuthName "protected"
AuthDigestProvider file
AuthUserFile "D:/Apache24/passwd/digest"
AuthDigestAlgorithm MD5
Require valid-user
Require ip MY_IP
</Location>
Unfortunately it doesn't work as expected - it ask for login and password even when connecting from MY_IP.
In Apache 2.2 i would add Satisfy Any in the end of the location to make it working. What is the correct configuration for 2.4 ? |
|
Back to top |
|
timo
Joined: 03 Jun 2012 Posts: 45 Location: FI, EU
|
|
Back to top |
|
|
|
|
|
|