Changing apache document root in ubuntu
In my development machine I always like to move the default /var/www directory to my home directory, e.g. /home/tareq/www . It’s very simple to do. Open the /etc/apache2/sites-available/default file with administrator previledge and change the document root as you want [shell]$ sudo gedit /etc/apache2/sites-available/default[/shell] Now change the file like this: [shell highlight=”1,6″] DocumentRoot /home/tareq/www <Directory … Continue reading Changing apache document root in ubuntu