I have following rule:
<Location />
AuthType Basic
AuthName test-server
Require valid-user
AuthUserFile /etc/apache2/passwd
</Location>
But want to exclude some IP addresses from authorisation process, so if you are connecting from such address, you don't have to submit login/password. How to do that?
Here's how to find the IP address on the Android phone:Go to your phone's settings. Select “About device.” Tap on “Status.” Here you can find information about your device, including the IP address.
<Location />
AuthType Basic
AuthName test-server
Require valid-user
AuthUserFile /etc/apache2/passwd
Deny from all
Allow from 123.123.123.123
Satisfy any
</Location>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With