Why won't my htaccess file work on your servers?
Category: Server Usage
My allow/deny directives are not working on the inmotionhosting servers, but they were working before. I contacted support and their response will not work. The htaccess file is set up correctly. It must be a server issue.
OTHER ANSWERS
|
0
|
Hi jeannies, Within your .htaccess file, you are using: order allow,deny ... to allow / prevent access to your website. While looking into this further, I found that the order in which you have allow,deny is very important. order allow,deny - The allow statements will be ran first order deny,allow - The deny statements will be ran first Because you are using order allow,deny and you have allow from all, it would make sense that this directive is being processed first, thus allowing everyone to view your website. I would suggest updating your .htaccess file and changing order allow,deny to order deny,allow. This will run all of your deny statements first, and if there is no match, the user will be allowed in. Let us know if this helps or not. 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 |


