Question

Apache logs says: .htaccess: order not allowed here

  • Posted August 6, 2014

Actually the full apache log is like that:

[Wed Aug 06 18:22:43.795185 2014] [core:alert] [pid 1827] [client 94.123.83.130:54441] /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?

Subscribe
Share

This comment has been deleted


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

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.

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 </Directory>

then reloaded Apache using “service apache2 reload”

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
</Directory>

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