Apache logs says: .htaccess: order not allowed here

Posted August 6, 2014 19.8k views

Actually the full apache log is like that:

[Wed Aug 06 18:22:43.795185 2014] [core:alert] [pid 1827] [client] /var/www/wp-content/plugins/akismet/.htaccess: order not allowed here, referer:

I’m using Ubuntu 14.04, apache, mysql, running wordpress with akismet plugin.

So is it a problem? If it so, how can I fix?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Could you post more information about your Apache configuration? Most likely, is is due to an AllowOverride None somewhere in your configuration. Try adding this:

<Directory "/var/www/wp-content/plugins/akismet/">
     AllowOverride All

That’s probably too permissive. You’ll want to limit it somewhat, but if this works then you know the root issue.

I ran into the same issue and fixed this by adding the following to my Apache conf:

<Directory /var/www/wp-content/plugins/akismet>
AllowOverride Limit

then reloaded Apache using “service apache2 reload”