Immanuel Normann <i.normann@iu-bremen.de> writes:
> Michael Sperber wrote:
>
>>>>>>>"Immanuel" == Immanuel Normann <i.normann@iu-bremen.de> writes:
>>>>>>>
>>>>>>>
>>
>>Immanuel> I tried according to the SUnet Reference Manual (with the file
>>names adapted to
>>Immanuel> my needs):
>>
>>Immanuel> (httpd (make-httpd-options
>>Immanuel> with-request-handler (rooted-file-handler "/tmp/sunet")
>>Immanuel> with-root-directory "/tmp/sunet")
>>
>> Immanuel> then scsh shell is blocked (perhaps this is ok, don't
>> know)
>>
>>Yep; that's normal.
>>
>>Immanuel> and does not show any error message, but my browser says:
>>
>>Immanuel> "Internal Server Error
>>
>>Immanuel> The server encountered an internal error or misconfiguration and
>>was unable to
>>Immanuel> complete your request.
>>
>>Immanuel> Please inform the server administrator, [no mail address
>>available], of the
>>Immanuel> circumstances leading to the error, and time it occured.
>>Immanuel> Further Information: Internal error occured while processing request
>>
>>Immanuel> resolv.conf-parse-error"
>>
>>Immanuel> what's wrong? How does a minimal working configuration look like?
>>
>>A starting point for figuring out your problem would be if you sent in
>>your /etc/resolv.conf, which is what the server seems to be having
>>trouble with.
>>
>>
> I had some comments in my resolve.conf. After removing this SUnet
> served my pages without any complains.
> Probably comments (like in sh scripts: "# bla....") in resolve.conf
> should not cause "resolv.conf-parse-error". So I consider this a bug
> of the involved parser handling this file.
Yes, here is an untested fix:
Index: dns.scm
===================================================================
RCS file: /cvsroot/sunet/sunet/lib/dns.scm,v
retrieving revision 1.33
diff -u -c -r1.33 dns.scm
*** dns.scm 27 Jan 2004 16:29:42 -0000 1.33
--- dns.scm 28 Jan 2004 10:53:18 -0000
***************
*** 1189,1195 ****
((eof-object? l)
(adjust-result rev-result #f '()))
((regexp-search
! (rx (: bos ("#;")))
l)
(loop rev-result))
((regexp-search
--- 1189,1195 ----
((eof-object? l)
(adjust-result rev-result #f '()))
((regexp-search
! (rx (: bos (| "#" ";")))
l)
(loop rev-result))
((regexp-search
--
Martin
|