Hi Giuseppe,

Giuseppe Scrivano <[email protected]> writes:

> [email protected] (Ludovic Courtès) writes:
>
>> By “empty”, you mean that it contains at least this:
>>
>>   <?xml version="1.0"?>
>>   <MYSERVER>
>>   </MYSERVER>
>>
>> Right?
>>
>> I would find even more convenient to not create a file.
>
> Yes, I mean that at least it is a valid XML file.
>
> Thanks for your suggestion, I think we can assume that if the file
> doesn't exist then it has the same meaning of an empty valid XML file.

Yes, that’d be convenient IMO.

>> OK.  Could it create a default virtual host automatically when
>> ‘virtualhosts.xml’ isn’t provided?
>
> Yes, it could, but how to choose the port number for example?  A random
> number?

It could default to 80; if a new ‘--port-number’ command-line option was
available, it could use it too.

What do you think?

> Guile and Scheme are always welcome here :-)  Maybe "guile-ify MyServer
> (and the way back)" can be a good GSOC task.

Yes, sounds like a good idea.  :-)  We (Guile people) could help define
what to do and how to do it, if need be.

Thanks,
Ludo’.

Reply via email to