Coming from apache2 one feature I can not achieve; require authentication only to external access but free access to users on my local network.
Any ideas how to handle easily this scenario?
Any help would be appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve deleted my previous answer and would like to suggest a solution I’ve provided below
I did a little search and found this solution to your problem – In code, where you use
auth_basicdirective, make such changes:How it works?
satisfydirective implies thatanyorallfrom next coming access rules must be passed to give access to resource. You can find more details here: satisfyThis should fit your problem perfectly 😉