Apache logs says: .htaccess: order not allowed here

August 6, 2014 16.7k 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: http://www.sinematopya.com/2013/11/la-vie-dadele-2013-mavi-en-sicak-renktir.html

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?

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”

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!