[Mono-aspnet-list] No response from fastcgi-mono-server2 on lighttpd/FreeBSD
Patrick Kristiansen
patrick.kristiansen at gmail.com
Sun Jul 19 05:17:39 EDT 2009
2009/7/17 Robert Jordan <robertj at gmx.net>
>
> patricius wrote:
> > <fastcgi.conf>:
> > ---------------------------------------------------------------------
> > # Include Mono specific configuration
> > include "conf.d/mono.conf"
> >
> > server.modules += ( "mod_fastcgi" )
> >
> > # FastCGI configuration
> > fastcgi.server = (
> > "" => ((
> > "socket" => mono_shared_dir + "fastcgi-mono-server",
> > "bin-path" => mono_fastcgi_server,
> > "bin-environment" => (
> > "PATH" => "/bin:/usr/bin:" + mono_dir + "bin",
> > "LD_LIBRARY_PATH" => mono_dir + "lib:",
> > "MONO_SHARED_DIR" => mono_shared_dir,
> > "MONO_FCGI_LOGLEVELS" => "Standard",
> > "MONO_FCGI_LOGFILE" => mono_shared_dir + "fastcgi.log",
> > "MONO_FCGI_ROOT" => mono_fcgi_root,
> > "MONO_FCGI_APPLICATIONS" => mono_fcgi_applications,
>
> Try this:
>
> "MONO_FCGI_SOCKET" => "unix:" + mono_shared_dir +
> "fastcgi-mono-server"
>
>
> If it still doesn't work:
>
> "MONO_FCGI_SOCKET" => "unix",
> "MONO_FCGI_FILENAME" => mono_shared_dir + "fastcgi-mono-server"
>
>
> If it still doesn't work:
>
> "socket" => "localhost:8787"
> ...
> "MONO_FCGI_SOCKET" => "tcp:localhost:8787",
>
I got it working by starting fastcgi-mono-server first, and
configuring it to use TCP.
Thanks for your help.
-Patrick
More information about the Mono-aspnet-list
mailing list