I'm trying to setup a virtual host on Apache 2.x in Windows 98, but I cannot figure out what is wrong. This is the dummy-config I have set, just for testing it:
ServerAdmin webmaster@test1.vhost-fake.com
DocumentRoot /htdocs/vhost/test1.vhost-fake.com
ServerName test1.vhost-fake.com
ErrorLog logs/test1.vhost-fake.com-error_log
CustomLog logs/test1.vhost-fake.com-access_log common
</VirtualHost>
Now, when I run Apache, I get this error:
"Warning: DocumentRoot [/htdocs/vhost/test1.vhost-fake.com] does not exist"
...so, any ideas what I'm doing wrong? that directory does indeed exist, so I'm not sure what's going on. Any help is appreciated.
-Erik.
Code:
<VirtualHost *> ServerAdmin webmaster@test1.vhost-fake.com
DocumentRoot /htdocs/vhost/test1.vhost-fake.com
ServerName test1.vhost-fake.com
ErrorLog logs/test1.vhost-fake.com-error_log
CustomLog logs/test1.vhost-fake.com-access_log common
</VirtualHost>
Now, when I run Apache, I get this error:
"Warning: DocumentRoot [/htdocs/vhost/test1.vhost-fake.com] does not exist"
...so, any ideas what I'm doing wrong? that directory does indeed exist, so I'm not sure what's going on. Any help is appreciated.
-Erik.