How To Change Directory of Root In Magento

Open Putty with your default Username & Copy – Paste the below Script in it. 

sudo nano /etc/apache2/sites-available/000-default.conf

DocumentRoot /var/www/html
 sudo nano /etc/apache2/apache2.conf
 <Directory /var/www/html/>
 Options Indexes FollowSymLinks
 AllowOverride None
 Require all granted
 </Directory>

sudo service apache2 restart
Advertisements

2 thoughts on “How To Change Directory of Root In Magento

  1. It’ѕ appropriate time to make some plans for the future
    and іt’s time to be happy. I’ve rеad this post and if I could I
    desiгe to suggest you few interesting things or suggestions.
    Perhaps you can write next articles referring to this ɑrtiсle.
    I desіre to read even more things about it!

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s