Clean URLGo to your /etc/apache2 folder

Find the file with name ‘apache2.config.’ Open it in ‘root’ mode.

Now find these line:

<Directory /home/sagir42/workspace/public_html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

Only you have to do a single things to solve your URL problem.

Change AllowOverride None to Change AllowOverride ALL

Save and close your file.

There have one more steep to do. Open your terminal and run both command

sudo a2enmod rewrite

sudo service apache2 restart

 

Advertisements