阿帕奇+ mod_lisp + 剪辑

发布于 2024-07-07 19:03:20 字数 251 浏览 18 评论 0原文

如何配置 apache + mod_lisp + clisp 并设置“Hello World!”? 我找不到有关该主题的任何完整指南。 谢谢。

编辑:Vebjorn 的解决方案有效,但我不知道如何编写“hello world!”。 谁能告诉我如何继续? 有类似 SWANKing clisp 的东西,然后用 SLIME 连接到它,但是当我启动 mod_lisp 的演示时,测试页面没有提供,我的 slime 也没有返回?

再次感谢。

How to to configure apache + mod_lisp + clisp and set up a "Hello World!"? I couldn't find any complete howto on the subject. Thanks.

Edit: Vebjorn's solution works, but then I don't how to code the "hello world!". Can anyone tell me how to proceed? There's something like SWANKing the clisp, then connect to it with SLIME, but then when I launch mod_lisp's demo, the test page is not served and my slime doesn't return?

Thanks again.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

暗藏城府 2024-07-14 19:03:20
  1. 下载 http://www.fractalconcept.com:8000/public/开源/mod_lisp/mod_lisp.c
    • 使用 sudo apxs -i -c mod_lisp.c 编译并安装 Apache 模块
    • 将以下内容添加到您的 httpd.conf 中:
      LoadModule lisp_module libexec/httpd/mod_lisp.so 
        AddModule mod_lisp.c 
        LispServer 127.0.0.1 3000“foo” 
        <位置/foo> 
        SetHandler lisp 处理程序 
         
        
  2. 使用sudo apachectl restart重新启动apache
  3. 启动 CLISP 并评估:

    (加载“modlisp-clisp”) 
      (modlisp:modlisp-服务器) 
      
  4. 将浏览器指向 http://localhost/foo。 您应该看到:

mod_lisp 2.0

这是一个常量 html 字符串,由
mod_lisp 2.0 + CLISP + apache + Linux

  1. Download http://www.fractalconcept.com:8000/public/open-source/mod_lisp/mod_lisp.c
    • Compile and install Apache module with sudo apxs -i -c mod_lisp.c
    • Add the following to your httpd.conf:
      LoadModule lisp_module libexec/httpd/mod_lisp.so
      AddModule mod_lisp.c
      LispServer 127.0.0.1 3000 "foo"
      <Location /foo>
      SetHandler lisp-handler
      </Location>
      
  2. Restart apache with sudo apachectl restart
  3. Start CLISP and evaluate:

    (load "modlisp-clisp")
    (modlisp:modlisp-server)
    
  4. Point your browser to http://localhost/foo. You should see:

mod_lisp 2.0

This is a constant html string sent by
mod_lisp 2.0 + CLISP + apache + Linux

梨涡 2024-07-14 19:03:20

您使用什么后端? 如果没有,我建议尝试 Hunchentoot 或者,甚至更好,UCW

这两个链接都会将您带到安装说明,最后以 Hello World 类型的页面结束。

What backend are you using? If none, I would suggest trying Hunchentoot or, even better, UCW.

Both of those links will take you to the installation instructions, ending with a Hello World kind of page.

樱娆 2024-07-14 19:03:20

这篇文章似乎是一篇相当详尽的“操作方法” " 使用 mod_lisp2 在 Apache 上设置 Common Lisp 的指南。

如果一切按计划进行,您现在应该有一个在 Apache 后面运行的 Common Lisp 应用服务器

This article seems to be a fairly thorough "how-to" guide to set up Common Lisp on Apache using mod_lisp2.

If all has gone as planned, you should now have a Common Lisp app server running behind Apache

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文