Setting up Apache
Dotan Cohen
dotancohen at gmail.com
Thu Oct 26 11:47:30 UTC 2006
I need to change Apache's DocumentRoot to /home/user/www/public_html.
I changed the lines in /usr/share/apache2/config that pointed to
/var/www to /home/user/www/public_html like so:
DocumentRoot /home/user/www/public_html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/user/www/public_html>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
And then I restarted Apache. However, the DocumentRoot stays /var/www.
Why would that be? Need I change anything else? Thanks in advance.
Dotan Cohen
http://what-is-what.com/what_is/xmp.html
More information about the ubuntu-users
mailing list