PDA

View Full Version : [ubuntu] Changing DocumentRoot on Apache2



eNc707
March 14th, 2010, 01:16 PM
Hi there,

how can I change the document root from /var/www to another folder? I cannot find anything in the apache2.conf or httpd.conf.

Thanks,

Frank

Ryan Dwyer
March 14th, 2010, 01:31 PM
It's in /etc/apache2/sites-available/default.

n0dix
March 14th, 2010, 01:37 PM
Look for Virtual Hosts in this Page (https://help.ubuntu.com/community/ApacheMySQLPHP).