By matej625377
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.