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!
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.
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
