ThinkGeekness
Technical User
I have Apache 1.3 and I am setting up name based virtual hosting and so far it looks like this:
ServerName domain.com
DocumentRoot /home/httpd/domain
BindAddress *
NameVirtualHost *
<VirtualHost *>
ServerName domain.com
DocumentRoot /home/httpd/domain
</VirtualHost>
<VirtualHost *>
ServerName domain2.com
DocumentRoot /home/httpd/domain2
</VirtualHost>
When I try to start apache, I get this error message:
DocumentRoot takes one Argument, Root directory of the document tree
How do I fix this?
Thanks
ServerName domain.com
DocumentRoot /home/httpd/domain
BindAddress *
NameVirtualHost *
<VirtualHost *>
ServerName domain.com
DocumentRoot /home/httpd/domain
</VirtualHost>
<VirtualHost *>
ServerName domain2.com
DocumentRoot /home/httpd/domain2
</VirtualHost>
When I try to start apache, I get this error message:
DocumentRoot takes one Argument, Root directory of the document tree
How do I fix this?
Thanks