actually the myserver.xml file can be empty and the server will use
default values for the different configurations.
If you also have an empty virtualhosts.xml file, then MyServer will not
do any listen(2). At least one virtual host must be defined to make
MyServer wait for new connections.
To define a new virtual host requires different attributes, some of them
can be optional and I am not sure how it can be done without introduce
Something already present in the TODO list, and I am sure it will excite
you :-) is the implementation of this feature in the `guile_conf' plugin
and get at the end something like:
> What is ‘myserver.xml’ supposed to contain? A void file like this
> doesn’t suffice to get MyServer to listen(2) for connections:
> <?xml version="1.0"?>
> A few suggestions (“free advice—you get what you pay for” ;-)):
> 1. Add one or more complete examples in the manual that can just be
> copy/pasted for a start.
> 2. Make it possible to start the server without any of the 3
> configuration files listed in “Basic configuration”, with sane
> defaults. This would make it much easier to get started.
> 3. Make some of the basic options available from the
> command-line—e.g., add a ‘--port’ option for the port number.
> What do you think?