scsh-users
[Top] [All Lists]

Re: start-web-server doesn't work

To: felix <felixundduni@freenet.de>
Subject: Re: start-web-server doesn't work
From: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Date: Tue, 27 May 2003 12:48:45 +0200
Cc: scsh-news@zurich.ai.mit.edu
felix <felixundduni@freenet.de> writes:

> "dns-error: dns-get-information: bad address (in combination with query type)"

Maybe the server has problems looking up its FQDN. start-web-server
doesn't allow you to specify it but you can supply it to the server
itself:


[0 gasbichl@ventoux sunet-2.0] scsh -lm packages.scm -lm start-web-server -o 
http-test
Welcome to scsh 0.6.4 (Olin Shivers)
Type ,? for help.
> ,in http-test
http-test>  (httpd (make-httpd-options
              with-port                 4242 
              with-root-directory       (cwd)
              with-syslog?              #f
              with-fqdn                "www.foobar.de"
              with-request-handler 
              (rooted-file-or-directory-handler 
               (absolute-file-name "web-server/root/htdocs"))))
>
>
> Invoking `(httpd ...)' directly doesn't make a difference.

No, but you should be able to obtain more debugging information. If
the above workaround does not help, please provide the output of
,preview and the output of ,debug followed by some "d" keystrokes.


-- 
Martin

<Prev in Thread] Current Thread [Next in Thread>