Nginx Apache Reverse Proxy and Mod Rewrite (ubuntu 14.04)

Posted June 23, 2015 4k views

I’ve created a new droplet using this tutorial:

I’ve enabled mod_rewrite but it’s does'nt work for me..
Is there a special setting to enable it ?
Thanks for help


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.

Submit an Answer
1 answer

The apache rewrite module can be enabled by running:

a2enmod rewrite
service apache2 rewrite

The rewrite module won’t do anything however without either a configuration setting or .htaccess file directive for rewrite.