--- sunet/server.scm Mon Oct 8 13:37:30 2001
+++ sunet-hoz/server.scm Tue Mar 26 23:08:14 2002
@@ -12,6 +12,7 @@
(define-structure http-top (export top)
(open httpd-core
+ httpd-make-options
cgi-server
httpd-basic-handlers
seval-handler
@@ -41,4 +42,12 @@
(set-gid -2) ; Should be (set-uid (->uid "nobody"))
(set-uid -2))) ; but NeXTSTEP loses.
(initialise-request-invariant-cgi-env)
- (httpd ph 8001 "/zu/shivers"))))
+ (httpd (with-path-handler
+ ph
+ (with-port
+ 8001
+ (with-root-directory
+ "/usr/local/etc/httpd/htdocs"
+ (with-syslog? #t))))))))
+
+
--
Humberto Ortiz Zuazaga
Programmer-Archaeologist
High Performance Computing facility
University of Puerto Rico
http://www.hpcf.upr.edu/~humberto/
> I had to make some changes to server.scm in the CVS sunet I downloaded
> to work with scsh-0.6.1. The way options are specified to the httpd
> function has changed:
Thanks, it helped me.
I have got another change, but i still cannot exec CGIs.
i had to define in httpd-core.scm
(define *http-log?* #t)
But i don't understand it's meaning... yet.
BTW: is there a special mailing list for sunet?
Michal> Humberto Ortiz-Zuazaga <humb...@hpcf.upr.edu> writes:
>> I had to make some changes to server.scm in the CVS sunet I downloaded
>> to work with scsh-0.6.1. The way options are specified to the httpd
>> function has changed:
Michal> Thanks, it helped me.
Michal> I have got another change, but i still cannot exec CGIs.
CGIs are very, very broken currently due to the interaction between
threads and fork.
Michal> i had to define in httpd-core.scm
Michal> (define *http-log?* #t)
Michal> But i don't understand it's meaning... yet.
That's going away VSN.
Michal> BTW: is there a special mailing list for sunet?
There's sunet-devel on SourceForge.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla