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

In which folder are Java Applications stored in Apache?

6 Answers   HCL, T3 Softwares,


What is systemctl used for?

0 Answers  


What are the types of virtual hosts?

0 Answers  


What is apache web server?

0 Answers  


How do I know if apache server is running windows?

0 Answers  


Can I use apache license 2.0 in commercial?

0 Answers  


What type of ip is needed for apache web servers to host a website?

0 Answers  


Can you record all the cookies sent to your server by clients in web server logs?

0 Answers  


How do I start apache on centos?

0 Answers  


How to run php/ruby with apache?

0 Answers  


What is the difference between httpd and apache?

0 Answers  


What is the servertype directive?

0 Answers  


Categories