Report this

What is the reason for this report?

Nginx Apache Reverse Proxy and Mod Rewrite (ubuntu 14.04)

Posted on June 23, 2015

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



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.

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.

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.