Report this

What is the reason for this report?

W3 Total Cache on Ubuntu / Apache

Posted on September 3, 2014

Hi,

trying to activate W3 Total Cachce, but I got the following error:

W3 Total Cache error:It appears Minify URL rewriting is not working. Please verify that the server configuration allows .htaccess Unfortunately minification will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.

Any guidance how to setup server to allow custom rewrite rules?



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.

This question was answered by @rustx:

Hi,

if you want to activate rewrite rules with apache, you need to do the following :

  • activate mod_rewrite
a2enmod rewrite
  • Configure your Directory to allow Override
<Directory /var/www>
AllowOverride All
</Directory>

Then, reload apache service, and the rewriting should work.

Hope it could help

Regards,

– rustx

You can see the comment here.

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.