Will a Lisp dialect that works with Apache Tomcat?
apache, clojure, lisp, tomcat
Solution
You can set up a Clojure/Java HTTP server (Jetty, etc.) running on some port, then use Apache's mod_proxy to forward certain requests from Apache to Clojure on that port. Something like this in your Apache configs:
ProxyPass /static !
ProxyPass /cgi-bin !
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
So Apache will send every request to your Clojure app on port 8080 except requests to things in `/static` and `/cgi-bin`, which Apache will handle itself.
Problem
Is there an application server like Apache Tomcat that I can use with a Lisp like web language? I've been playing a little bit with Arc/Anarki and Clojure lately. But what I really miss is something like mod_arc or mod_clojure for Apache. What I really miss is good Apache integration for a Lispy web language. Both Arc and Clojure use their own built in webserver that you launch within your code. I want all the functionality, resiliency and scalability that Apache httpd gives me. Is anyone working on an Apache module for Arc or Clojure? Is there another Lisp like language that I can use with Apache? I come from a background in PHP and Perl. But also have lots of experience in C and /bin/sh. Since when I started writing web apps I was using cgi-bin and stdin to C binaries.