Why is order allow deny from all in my .htaccess file?
Category: Server Usage
I am finding this in some htaccess files that are on the server. Is this a standard setup in your htaccess files? I was not using the and on the previous host's server. Do I need it on yours? I only use the Order Deny/Allow directive when banning IP addresses.
Order Deny,Allow
Deny from all
Order Deny,Allow
Deny from all
OTHER ANSWERS
|
0
|
Hi jeannies, When you are blocking IP addresses from your website, it is common to see: Order Deny,Allow Deny from all I actually had the opportunity not too long ago to learn more about "order allow,deny" vs. "order deny,allow", and the information I found may help answer your question. You can find more information about the allow / deny commands in your .htaccess file here: My .htaccess file is not blocking IP addresses correctly I hope that helps! Feel free to post any comments at the bottom of this page if I can help any further. Thanks! - Brad |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


