From davazp at gmail.com Tue May 22 12:20:55 2012 From: davazp at gmail.com (=?UTF-8?Q?David_V=C3=A1zquez?=) Date: Tue, 22 May 2012 13:20:55 +0100 Subject: [hunchentoot-devel] Problem with *rewrite-for-session-urls* and redirect Message-ID: Hello, I have found a problem with Hunchentoot 1.2.3. I hope my report to be helpful. It occurs if you set *rewrite-for-session-urls* to NIL to avoid Hunchentoot uses URLs to keep the session ID. If you disable cookies then it works properly, new sessions are created for each request. However, if I request a resource and the handler uses `redirect' function, then the target URL is appended with the session-cookie-name parameter anyway. Thank you, David. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.may at mac.com Thu May 31 18:12:42 2012 From: patrick.may at mac.com (Patrick May) Date: Thu, 31 May 2012 11:12:42 -0700 Subject: [hunchentoot-devel] 404 page Message-ID: 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 From hans.huebner at gmail.com Thu May 31 19:24:05 2012 From: hans.huebner at gmail.com (=?ISO-8859-1?Q?Hans_H=FCbner?=) Date: Thu, 31 May 2012 21:24:05 +0200 Subject: [hunchentoot-devel] 404 page In-Reply-To: References: Message-ID: On Thu, May 31, 2012 at 8:12 PM, Patrick May 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? > 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. With no further customization, the error page templates are located in the www/errors/ subdirectory of the Hunchentoot source distribution. Let me know if you have further questions. -Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From amalawi at gmail.com Thu May 31 19:48:49 2012 From: amalawi at gmail.com (Ala'a Mohammad) Date: Thu, 31 May 2012 23:48:49 +0400 Subject: [hunchentoot-devel] 404 page In-Reply-To: References: Message-ID: 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 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 From patrick.may at mac.com Thu May 31 20:41:30 2012 From: patrick.may at mac.com (Patrick May) Date: Thu, 31 May 2012 13:41:30 -0700 Subject: [hunchentoot-devel] 404 page In-Reply-To: References: Message-ID: <839E4BBD-C7B5-4CBD-8CE1-424E89F15EFF@mac.com> Thanks to you and Ala'a for the quick answers. Regards, Patrick On May 31, 2012, at 12:24 PM, Hans H?bner wrote: > On Thu, May 31, 2012 at 8:12 PM, Patrick May 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? > > 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. > > With no further customization, the error page templates are located in the www/errors/ subdirectory of the Hunchentoot source distribution. > > Let me know if you have further questions. > > -Hans > > _______________________________________________ > tbnl-devel site list > tbnl-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/tbnl-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: