Gerrit Pape wrote:
> On Tue, Oct 17, 2006 at 09:06:43PM +0200, Vincent Fourmond wrote:
>>   I've been trying to use fnord to setup a temporary web server run
>>   without root privileges, and I found it hard to get. Please provide
>>   a manual page, with at least the mention of the -l switch on
>>   command-line.
> 
> Hi Vincent,
> 
> while it's true there's no man page for fnord, I don't know anything
> about a -l option that fnord understands.  There's a documented way on
> how to setup fnord on Debian, see /usr/share/doc/fnord/README.Debian.
> 
> And there are manual pages for the fnord-conf and fnord-ssl-conf
> programs.
> 
>>   If that's interesting for you, here is the command-line I used to
>>   have the server working, listening on port 2000:
>>
>>   mini-inetd 2000 -- /usr/sbin/fnord -l localhost
> 
> Maybe the -l option is interpreted by mini-inetd?

  No, it is a stupid mistake of mine. What I did find, however, is that
fnord fails to serve anything if it doesn't have a command-line
parameter (even if it isn't a valid directory). So that

mini-inetd 2000 -- /usr/sbin/fnord

  Fails to deliver any service, whereas

mini-inetd 2000 -- /usr/sbin/fnord a b

which runs fnord as a (argv[0]) with parameter b runs fine. Do you have
an idea ? That is weird, and should probably be mentioned in the
documentation.

  Cheers !

        Vince




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to