Quantcast
Channel: Rapid Solution
Viewing all articles
Browse latest Browse all 458

change apache www path and enable rewrite module

$
0
0

Modify the path here:
sudo vi /etc/apache2/sites-available/000-default.conf

and modify the path here:
sudo vi /etc/apache2/apache2.conf


To enable it the rewrite module, run "apache2 enable module rewrite":
sudo a2enmod rewrite


<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
 
Change the AllowOverride None to AllowOverride All


You need to restart the web server to apply the changes:
sudo service apache2 restart 
 


Viewing all articles
Browse latest Browse all 458

Latest Images

Trending Articles



Latest Images