Is it possible to deny access not only per directory using directive <location> but a to a number of directories at one time?
Or I have to use every time <location> for each directory?
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.
No, I don’t think that this is possible using the location tags. It of course applies to all subdirectories, but I don’t think that’s what you’re referring to.
You could of course write your own handler, or have a page base class that all pages you want to protect inherit from.