[tbnl-devel] lighttpd
Adam Thorsen
adam.thorsen at gmail.com
Thu Sep 8 10:26:28 UTC 2005
I am using tbnl-0.5.5.
Ok, I start tbnl like so:
TBNL> (tbnl:start-tbnl)
#<KMRCL:LISTENER port 3000>
TBNL>
I configure lighttpd.conf like so:
$HTTP["host"] == "website.com" {
proxy.debug = 1
proxy.server = ( "" =>
(
("host" => "144.202.242.43","port" => 3000)
)
)
}
But I just get a blank page instead of the default tbnl page.
lightthpd error log shows(I have turned on proxy.debug):
On 9/8/05, Stefan Scholl <stesch at no-spoon.de> wro2005-09-08 10:27:15:
(mod_proxy.c.1000) proxy - start
2005-09-08 10:27:15: (mod_proxy.c.1036) proxy - ext found
2005-09-08 10:27:15: (mod_proxy.c.1079) proxy - used fair balancing
2005-09-08 10:27:15: (mod_proxy.c.1156) proxy - found a host
144.202.242.43 3000
2005-09-08 10:27:15: (mod_proxy.c.380) connect delayed: 7
2005-09-08 10:27:15: (mod_proxy.c.915) proxy: fdevent-out 1
2005-09-08 10:27:15: (mod_proxy.c.728) proxy - connect - delayed success
2005-09-08 10:27:15: (mod_proxy.c.882) proxy: fdevent-in 4
2005-09-08 10:27:15: (mod_proxy.c.568) proxy - have to read: 0
If I go directly to port 3000 it works as expected.
-Adam
te:
> On 2005-09-07 21:30:55, Adam Thorsen wrote:
> > Is there some way to use tbnl with lighttpd? I've attempted using it
> > through mod_proxy, but haven't had any luck yet.
>
> What have you tried?
>
> I had no problems with it. Just put mod_proxy into server.modules
> and then write a simple config entry like
>
> proxy.server = ( "" =>
> (
> ( "host" => "127.0.0.1", "port" => 5757 )
> )
> )
>
> This example matches _everything_ that connects to the web server
> and directs it to a running CL-WIKI (default port 5757).
>
>
> Which version of TBNL do you use?
>
>
> Regards,
> Stefan
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
More information about the Tbnl-devel
mailing list