[hunchentoot-devel] 404 page

Ala'a Mohammad amalawi at gmail.com
Thu May 31 19:48:49 UTC 2012


For dynamic 404 contents, This works for the stock easy-acceptor.

(defun 404-dispatcher (request)
  '404-page)

(defun 404-page ()
  "404 is here!")

(push-end-new '404-dispatcher *dispatch-table*)  ;; make sure the
dispatcher is at the end of the *dispatch-table*

HIH

Ala'a

On Thu, May 31, 2012 at 10:12 PM, Patrick May <patrick.may at mac.com> wrote:
>        I'm sure I'm overlooking something simple in the documentation, but I've Googled madly and not found the answer.  How do I specify my own 404 page in Hunchentoot?
>
> Thanks,
>
> Patrick
>
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel




More information about the Tbnl-devel mailing list