[NTLUG:Discuss] Confused doing Virtual Domains and apache configuration.

Hector M Banda hector at need-info.com
Wed Jul 19 19:52:12 CDT 2000


Hi all,
After configuring apache from source ( tarball ) and trying to do virtual
domains, How do I know what to put on the DocumentRoot path?

Right now I have:
	ServerRoot "/usr/local/apache"
	DocumentRoot "/usr/local/apache/htdocs"

more code......

	<VirtualHost xx.yy.zz.aa>
	DocumentRoot ???????
	ServerName   ???????
	</VirtualHost>

end of file

First of all, I want to change my path from /usr/local/apache/htdocs
to /virtual/domains/domainname....

Can I just change the DcumentRoot to "/www/virtual/domains" ?
What else do I need to change in the httpd.conf file?

What about the DocumentRoot for my virtual domains?

	DocumentRoot /www/virtual/domains/domainname
			or
	DocumentRoot ./domainname

Thanks,



===========================================
Hector M Banda
Senior Computer Programmer
Information Systems Department
Imperial Valley College
Imperial Ca, 92251
Phone: 760.355.6105
Fax  : 425.790.6379
============================================





More information about the Discuss mailing list