hunchentoot

hunchentoot fatal error encountered in SBCL SIGABRT received

丶灬走出姿态 提交于 2020-01-14 04:19:25
问题 while installing hunchentoot (and subsequently loading it), I have the error: * (ql:quickload :hunchentoot) To load "hunchentoot": Load 1 ASDF system: hunchentoot ; Loading "hunchentoot" ....fatal error encountered in SBCL pid 43052(tid 0xb57dc0): SIGABRT received. Welcome to LDB, a low-level debugger for the Lisp runtime environment. ldb> I have locally built SBCL, using ./make.sh --fancy flag to have threads on my macOS % sbcl --version SBCL 1.5.9 mac os: % uname -a Darwin <m/c name> 19.0.0

Hunchentoot List of Redirects

流过昼夜 提交于 2019-12-24 02:59:35
问题 The URI structure of my website changed drastically recently and I need to redirect all of the old pages to their corresponding new pages. I have a dotted list of pairs of all of the old and new URIs. At the moment I am trying to define easy handlers for each in a loop: (let ((redirects '(("/old/uri/example-1" . "/new/uri/example-1")))) (dolist (redirect redirects) (hunchentoot:define-easy-handler (???? :uri (first redirect)) () (redirect (rest redirect))) )) Maybe there is a better way.

hunchentoot define-easy-handler with ssl?

不羁岁月 提交于 2019-12-01 08:41:52
I use define-easy-handler all the time. I now have a freshly minted ssl certificate and associated pem files, but can't figure out what the ssl equivalent of d-e-h is. For example, I have: (hunchentoot:define-easy-handler (login :uri "/login") () (login-html)) which is just a simple form whose formaction goes here: (hunchentoot:define-easy-handler (dologin :uri "/dologin") (email password) (dologin-html email password)) I got the required .pem files from freecert, so I think that I have the files that go to : SSL-CERTIFICATE-FILE and : SSL-PRIVATEKEY-FILE . I've tried various args to the above

hunchentoot define-easy-handler with ssl?

独自空忆成欢 提交于 2019-12-01 04:58:58
问题 I use define-easy-handler all the time. I now have a freshly minted ssl certificate and associated pem files, but can't figure out what the ssl equivalent of d-e-h is. For example, I have: (hunchentoot:define-easy-handler (login :uri "/login") () (login-html)) which is just a simple form whose formaction goes here: (hunchentoot:define-easy-handler (dologin :uri "/dologin") (email password) (dologin-html email password)) I got the required .pem files from freecert, so I think that I have the