Home > Apache > .htaccess error

.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:

Filed Under: Apache

One Comment to “.htaccess error”

  1. vds Says:

    hm.. did not know
    thanks KP



Archives