Ubuntu 7.10 server mod_rewrite not working even enabled.

By Rimpy

Step 1
Check if mod_rewrite and mod_proxy modules are enabled for apache. To do so put following command:

1
2
a2enmod rewrite
a2enmod proxy

this will enable the required modules if they are not enabled yet.

Step 2
Go to “/etc/apache2/sites-enabled/”. Open the corresponding file for which domain you want to activate rewrite module. In my case that is local server and i checked in 000-default file.
Find the following entry corresponding to your root directory

AllowOverride None

Replace this with:

AllowOverride all

With above steps i found my mod_rewrite module enabled and working sucessfully.

Share/Save

2 Responses to “Ubuntu 7.10 server mod_rewrite not working even enabled.”

  1. jcorrea920 Says:

    Thank you so much Rimpy did the trick for me on a development server I set up that had mod_rewrite disabled.

  2. Rimpy Says:

    Hi jcorrea,
    Yes sure. This trick is working on development server too.

Leave a Reply