blondie63
By:
blondie63

Nginx Apache Reverse Proxy and Mod Rewrite (ubuntu 14.04)

June 23, 2015 1.4k views
Apache Nginx Ubuntu

I've created a new droplet using this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-14-04-droplet?comment=33592

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

Blondie

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.

Have another answer? Share your knowledge.