[Tbnl-devel] [hunchentoot-devel] 404 page

Bill St. Clair billstclair at gmail.com
Thu May 8 16:38:18 UTC 2014


Same here.

hunchentoot:*hunchentoot-version* is "1.2.26"
(lisp-implementation-version) is "Version 1.9-r16025M  (DarwinX8664)"

-Bill


On Thu, May 8, 2014 at 12:31 PM, Patrick May <patrick.may at mac.com> wrote:

> I spoke too soon.  I changed it to specify
> hunchentoot:acceptor-status-messsage, but no joy.  Then I modified the
> package to use :hunchentoot and removed all the “hunchentoot:” package
> specifiers in the code, but still see the default 404 page in my browser.
>
> I’m using Clozure CL (64-bit) on OS X.
>
> Thanks,
>
> Patrick
>
> On May 8, 2014, at 12:23 PM, Patrick May <patrick.may at mac.com> wrote:
>
> Thanks!  Silently adding a new generic method — one of my favorite tricks.
>
> Regards,
>
> Patrick
>
> On May 8, 2014, at 10:41 AM, Bill St. Clair <billstclair at gmail.com> wrote:
>
> Your example works for me if I change:
>
> (defmethod acceptor-status-message (acceptor (http-status-code (eql 404))
> &key)
>   (display-404-page))
>
> to:
>
> (defmethod hunchentoot:acceptor-status-message (acceptor (http-status-code
> (eql 404)) &key)
>   (display-404-page))
>
> -Bill
>
>
> _______________________________________________
> Tbnl-devel mailing list
> Tbnl-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/tbnl-devel
>
>
>
> _______________________________________________
> Tbnl-devel mailing list
> Tbnl-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/tbnl-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20140508/3896e489/attachment.html>


More information about the Tbnl-devel mailing list