From: David Steuber
Subject: [Slightly OT] Apache 500 error page for cl-modlisp
Date: 
Message-ID: <87lll0efn9.fsf@david-steuber.com>
Is there a way for me to setup Apache 1.3.29 to dole out a custom page
indicating that the Lisp server is not running rather than sending
back a 500 Internal Server Error message?

I think I have the Apache side of mod_lisp setup correctly, but I
haven't figured out how to get SBCL to load its side so that
start-apache-listener will work.

The directions I have found here:

  http://lisp.t2100cdt.kippona.net/lispy/home

have not quite gotten me there yet.  I have gotten SBCL's adsf-install
to work as far as I can tell.  I just haven't figured out yet how to
require the appropriate packages.  I tried (require 'modlisp) but that
didn't work.

-- 
I wouldn't mind the rat race so much if it wasn't for all the damn cats.

From: Edi Weitz
Subject: Re: [Slightly OT] Apache 500 error page for cl-modlisp
Date: 
Message-ID: <m365c471lm.fsf@bird.agharta.de>
On 12 Apr 2004 23:11:06 -0400, David Steuber <·····@david-steuber.com> wrote:

> Is there a way for me to setup Apache 1.3.29 to dole out a custom
> page indicating that the Lisp server is not running rather than
> sending back a 500 Internal Server Error message?

Use Apache's 'ErrorDocument' directive:

  <http://httpd.apache.org/docs/mod/core.html#errordocument>

This should result in something like this:

  <http://miles.agharta.de/lisp/foo>

Edi.
From: David Steuber
Subject: Re: [Slightly OT] Apache 500 error page for cl-modlisp
Date: 
Message-ID: <871xmrww8w.fsf@david-steuber.com>
Edi Weitz <···@agharta.de> writes:

> On 12 Apr 2004 23:11:06 -0400, David Steuber <·····@david-steuber.com> wrote:
> 
> > Is there a way for me to setup Apache 1.3.29 to dole out a custom
> > page indicating that the Lisp server is not running rather than
> > sending back a 500 Internal Server Error message?
> 
> Use Apache's 'ErrorDocument' directive:
> 
>   <http://httpd.apache.org/docs/mod/core.html#errordocument>
> 
> This should result in something like this:
> 
>   <http://miles.agharta.de/lisp/foo>

Ah.  Thanks.

Cute baby.

-- 
I wouldn't mind the rat race so much if it wasn't for all the damn cats.
From: Eduardo Muñoz
Subject: Re: [Slightly OT] Apache 500 error page for cl-modlisp
Date: 
Message-ID: <uhdvmo1tl.fsf@terra.es>
* David Steuber <·····@david-steuber.com>
| Is there a way for me to setup Apache 1.3.29 to dole out a custom page
| indicating that the Lisp server is not running rather than sending
| back a 500 Internal Server Error message?

But if the lisp server should be running and is not it is
indeed an internal server error. The default page is not
pretty so you may want to customize it as Edi already said.

The following url and associated code may serve you as
an inspiration: 

http://213.97.131.125/lisp/errors


-- 
Eduardo Mu�oz          | (prog () 10 (print "Hello world!")
http://213.97.131.125/ |          20 (go 10))
From: David Steuber
Subject: Re: [Slightly OT] Apache 500 error page for cl-modlisp
Date: 
Message-ID: <8765c243ui.fsf@david-steuber.com>
Eduardo Mu�oz <······@terra.es> writes:

> * David Steuber <·····@david-steuber.com>
> | Is there a way for me to setup Apache 1.3.29 to dole out a custom page
> | indicating that the Lisp server is not running rather than sending
> | back a 500 Internal Server Error message?
> 
> But if the lisp server should be running and is not it is
> indeed an internal server error. The default page is not
> pretty so you may want to customize it as Edi already said.

True.  I have a page in for that now.  I may want to change it, but
I've at least got the httpd.conf file setup for it.

> The following url and associated code may serve you as
> an inspiration: 
> 
> http://213.97.131.125/lisp/errors

Thanks, I'll look at that.

-- 
I wouldn't mind the rat race so much if it wasn't for all the damn cats.