If you specify both deny from all and allow from all, what
will be the default action of Apache?

Answers were Sorted based on User's Feedback



If you specify both deny from all and allow from all, what will be the default action of Apache?..

Answer / abhay

In case of ambiguity deny always takes precedence over allow.

Is This Answer Correct ?    13 Yes 1 No

If you specify both deny from all and allow from all, what will be the default action of Apache?..

Answer / alex kurian m

Service Will check first allow, if allow all it will not
check deny settings.

Is This Answer Correct ?    9 Yes 2 No

If you specify both deny from all and allow from all, what will be the default action of Apache?..

Answer / josey

deny will be taken first.

Is This Answer Correct ?    6 Yes 2 No

If you specify both deny from all and allow from all, what will be the default action of Apache?..

Answer / cvr

It also depends on Order directive

order allow, deny # connection will be denied

order deny, allow # connection will be allowed

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Apache Interview Questions

How to verify httpd.conf file to ensure no configuration syntax error?

0 Answers  


Why doesn't Apache include SSL?

1 Answers  


Where is apache installed?

0 Answers  


How does apache license work?

0 Answers  


How can we find what are the modules loaded in apache?

0 Answers  






What is htpasswd?

0 Answers  


What is the difference between apache and nginx web server?

0 Answers  


Is apache still used?

0 Answers  


How do I start apache server?

0 Answers  


What is the use of mod_perl module?

0 Answers  


How to manage apache logs?

0 Answers  


If you specify both deny from all and allow from all, what will be the default action of Apache?

4 Answers  


Categories