Report this

What is the reason for this report?

Apache logs says: .htaccess: order not allowed here

Posted on 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?



This textbox defaults to using Markdown to format your 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.

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.

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”

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.