Title: &quot;Require not allowed here&quot; in Apache error log
Last modified: August 22, 2016

---

# "Require not allowed here" in Apache error log

 *  [streetdaddy](https://wordpress.org/support/users/streetdaddy/)
 * (@streetdaddy)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/require-not-allowed-here-in-apache-error-log/)
 * I get this error in the Apache error log when I enable any optimize options.
 * “Require not allowed here”
 * The optimization doesn’t happen, and the CSS is not applied.
 * Trying to view any of the generated CSS files causes the same error, eg:
 * /content/cache/autoptimize/css/autoptimize_d123098829b02f0080de0482f3048288.css
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)
 * If I comment out the line “Require all denied” the CSS loads ok.
 * If it makes any difference, I use Capistrano to deploy the site, and the content/
   cache directory is symlinked.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/require-not-allowed-here-in-apache-error-log/#post-5821889)
 * Can you check what your Apache’s AllowOverride is set to? Problem might be that
   restricts htaccess-files from setting their own allow/ deny logic.
 * frank

Viewing 1 replies (of 1 total)

The topic ‘"Require not allowed here" in Apache error log’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [require()](https://wordpress.org/support/topic-tag/require/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/require-not-allowed-here-in-apache-error-log/#post-5821889)
 * Status: not resolved