-
Vhost Problem
When trying to add a Vhost in Apache the error that keeps occuring is:
documentRoot takes one argument, Root directory of the document
What does that mean? here is the code i used to add it:
<VirtualHost *:80>
ServerName http://www.almost-online.net
ServerAdmin webmaster@theouternet.net
DocumentRoot C:\Program Files\Apache Group\Apache\htdocs\Usr\justin
</VirtualHost>
Whats wrong with that?
-
Try using quotes around it?
That is about the only major difference I see between what you have and one of my configurations has...I did do some stuff with naming my virtual host outside of the <VirtualHost> directive that I seem to remember was a requirement for what I was doing at the time...and then used that name instead of *:<port>. You might want to check the documentation on that...
For starters, check here: http://httpd.apache.org/docs/vhosts/details.html
/nebulus
-
Re: Vhost Problem
Remove the :80 in the <VirtualHost *> tag.