.htaccess error
July 19, 2009 Posted by KP
My site got ‘internal server configuration’ errors, the Apache error log file for this domain has the following error message:
.htaccess: order takes one argument, ‘allow,deny’, ‘deny,allow’, or ‘mutual-failure’
After checking .htaccess file again and again, it turned out to be the following line:
order allow, deny
I added an extra space before ‘deny’ (coding habits), the problem was fixed after I removed the space. I’m very surprised that Apache can’t tolerate an extra space.
Related Posts:
- MT-Blacklist Error : Byte Order Is Not Compatible
- Stop the Most Annoying Spammers
- More About Apache Log File Rotation
- Apache Error Log File
- Disable Apache Log Files
- Protect Directory
- Contact Form Abused Through BCC Field
Filed Under: Apache
February 20th, 2010 at 12:02 pm
hm.. did not know
thanks KP