Virtualhost stuck at "Restart required"

#1
Hi,

This is the first time that i'm using litespeed but i've a problem with a virtualhost. It says "Restart Required" but even after restarting litespeed it stays there with the same status.

I checked Home and there are two errors:

Code:
2010-10-07 18:03:30.633	ERROR	[config:vhost:example.com] missing <docRoot> in <virtualHostConfig>
2010-10-07 18:03:30.633	ERROR	[config:vhost:example.com] configuration failed!
Why does this happen? I have filled all information when creating the virtual host.

Thanks!
 
#2
I've found that when i create a new virtual host, the following error shows up:

Code:
2010-10-07 22:31:31.239 [NOTICE] [189.114.160.143:61429-0#_AdminVHost] [STDERR] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.4.0.17/classes/DUtil.php on line 229
2010-10-07 22:31:31.240 [NOTICE] [189.114.160.143:61429-0#_AdminVHost] [STDERR] PHP Warning:  array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in /usr/local/lsws/admin/html.4.0.17/classes/ConfValidation.php on line 232
2010-10-07 22:31:33.351 [NOTICE] [189.114.160.143:61429-1#_AdminVHost:lsapi] [STDERR] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.4.0.17/classes/DUtil.php on line 229
2010-10-07 22:31:33.366 [NOTICE] [189.114.160.143:61429-1#_AdminVHost:lsapi] [STDERR] PHP Warning:  array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in /usr/local/lsws/admin/html.4.0.17/classes/ConfValidation.php on line 232
2010-10-07 22:31:35.432 [NOTICE] [189.114.160.143:61429-2#_AdminVHost:lsapi] [STDERR] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.4.0.17/classes/DUtil.php on line 229
2010-10-07 22:31:35.434 [NOTICE] [189.114.160.143:61429-2#_AdminVHost:lsapi] [STDERR] PHP Warning:  array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in /usr/local/lsws/admin/html.4.0.17/classes/ConfValidation.php on line 232
 

NiteWave

Administrator
#3
Code:
2010-10-07 18:03:30.633	ERROR	[config:vhost:example.com] missing <docRoot> in <virtualHostConfig>
2010-10-07 18:03:30.633	ERROR	[config:vhost:example.com] configuration failed!
as the message hint, the vhost's document root not set yet.

after creating a vhost, the next step is to fully configure it by:
Configuration -> Virtual Hosts --> select the vhost you just created
-->General --> Document Root
and
--> Log
etc
 
Top