Hello
I am trying to set up my first running of tbnl. Well, I got everything working to a point. I am using apache 12 and SBCL as my lisp. TBNL works, I can go to the test page and everything works on it. The problem with my set up is that it doesn't seem to be able to do anything else besides the default pages.
Like, I tried to make it so that everything inside of /asp would be ran with TBNL server, however it just gives me a page saying that TBNL isn't proberly configured yet. Any idea as to how I can set it so this will work? Also is is possible for me to be able to set up apache to handle any file with the .lisp extention as a lisp file and send it to TBNL server?
As I was playing with the test page I noticed that the server didn't seem very responsive. Well, it was on the first load but as soon as I would click on a link the page would like hang. Infact it never would load the page, I am not sure if this is because I havn't configured something right. If it is always like this could you let me know, because it wouldn't be very suited for production use if I can't get past the first page easyly. I am not saying that I couldn't ever, I had to click on the link a bunch and finally it would switch. Or I would have to wait like 5 mins then I could change the page. That IMO isn't very usfull for production. Is there a fix to this slow responsivness?
Thank you
Hi!
On Thu, 09 Feb 2006 21:15:58 -0800, CyBerHigh cyberhigh@gurusnetwork.org wrote:
I am using apache 12
Er, Apache 12?
Like, I tried to make it so that everything inside of /asp would be ran with TBNL server, however it just gives me a page saying that TBNL isn't proberly configured yet. Any idea as to how I can set it so this will work?
Yes, sure. Why don't you tell us how your handlers and dispatchers look like? If you've just changed the Apache location from /tbnl to /asp, you won't see anything but the default page with the test code because the test code checks for URLs starting with /tbnl/test. My guess is that this might be your problem.
Also is is possible for me to be able to set up apache to handle any file with the .lisp extention as a lisp file and send it to TBNL server?
This should do it:
AddHandler lisp-handler .lisp
As I was playing with the test page I noticed that the server didn't seem very responsive.
I haven't seen that here. This is SBCL on which OS? If it isn't a recent version with native threads on Linux/x86 with a 2.6.x kernel, then you must switch to another Lisp like CMUCL[1], LispWorks, or AllegroCL. TBNL needs a Lisp with MP capabilities - see documentation.
HTH, Edi.
[1] For CMUCL don't forget the usual
(mp::startup-idle-and-top-level-loops)