Unable to enable modrewrite on ubuntu 15.04

648 views Asked by At

I'm using ubuntu 15.04 on my desktop. I have installed lamp, but I'm unable to enable mod rewrite. I have tried by following with terminal :

sudo a2enmod rewrite
sudo service apache2 restart

I also have changed to

/etc/apache2/sites-available/ooo-default.conf

like following:

<Directory "/var/www/html">
    AllowOverride All
</Directory>

and then

sudo service apache2 restart

But it doesn't work. Please help.

0

There are 0 answers