On Ubuntu, edit the file
In order to use mod_rewrite you can type the following command in the terminal:
Restart apache2 after
Despite having default Directory rules add following after DocumentRoot declaration DocumentRoot /var/www/html,
/etc/apache2/apache2.conf
In order to use mod_rewrite you can type the following command in the terminal:
$ sudo a2enmod rewrite
Restart apache2 after
sudo service apache2 restart
Despite having default Directory rules add following after DocumentRoot declaration DocumentRoot /var/www/html,
<directory “/var/www/html” > AllowOverride All </directory>then,
sudo service apache2 restart
No comments:
Post a Comment