[Tbnl-devel] [hunchentoot-devel] 404 page
Patrick May
patrick.may at mac.com
Thu May 8 16:31:24 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20140508/03250401/attachment.html>
More information about the Tbnl-devel
mailing list