|
-
May 17th, 2006, 04:14 AM
#1
Thread Starter
Frenzied Member
DocumentRoot takes one argument!
I followed this tutorial regarding adding a subdomain in DNS server http://content.websitegear.com/artic...main_setup.htm and configure the httpd.conf and add this line:
Listen 80
NameVirtualHost *
<VirtualHost *>
ServerName www.domain.com
DocumentRoot c:/Program Files/Apache Group/Apache2/htdocs
</VirtualHost>
<VirtualHost *>
ServerName subdomain.domain.com
DocumentRoot c:/Program Files/Apache Group/Apache2/htdocs/marvin
</VirtualHost>
But when I restart the web server it throw an exception in line DocumentRoot: DocumentRoot takes one argument Root Directory in document tree.
Any inputs are greatly appreciated. 
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|