<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-tab-span" style="white-space:pre">       </span>Dredging up an old question….<br><br><span class="Apple-tab-span" style="white-space:pre">   </span>On this machine I don’t have the code I used the last time I asked this question.  I tried this:<br><br><font face="Consolas">(defmethod acceptor-status-message ((acceptor (eql *test-acceptor*))<br>                                    (http-status-code (eql 404)))<br>  (display-404-page))<br></font><br>but it doesn’t display my own 404 page.  What Hunchentoot concept am I missing?<div><br></div><div>Thanks,</div><div><br></div><div>Patrick</div><div><br><br>On May 31, 2012, at 3:24 PM, Hans Hübner <<a href="mailto:hans.huebner@gmail.com">hans.huebner@gmail.com</a>> wrote:<br><br><blockquote type="cite">On Thu, May 31, 2012 at 8:12 PM, Patrick May <<a href="mailto:patrick.may@mac.com">patrick.may@mac.com</a>> wrote:<br>       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?<br><br>This is actually documented, albeit maybe a bit hard to find:  http://weitz.de/hunchentoot/#acceptor-status-message  -  I'd gladly accept a documentation patch that puts some prose describing how to customize error pages into a separate chapter.<br><br>With no further customization, the error page templates are located in the www/errors/ subdirectory of the Hunchentoot source distribution.<br><br>Let me know if you have further questions.<br><br>-Hans<br><br>_______________________________________________<br>tbnl-devel site list<br>tbnl-devel@common-lisp.net<br>http://common-lisp.net/mailman/listinfo/tbnl-devel<br></blockquote><br></div></body></html>