- give permissions to the /var/www/ directory
- Install the Apache module mod_rewrite
- Chnage the directory and keep the back up of the file “000-default”
sudo cp 000-default 000-default1
- Edit the file 000-default
Look for the below given code
Options Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
allow from all
Modify “AllowOverride none” to “AllowOverride All”
- Restart Apache
No comments:
Post a Comment