[Mono-aspnet-list] No response from fastcgi-mono-server2 on lighttpd/FreeBSD

Robert Jordan robertj at gmx.net
Fri Jul 17 05:59:19 EDT 2009


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",



Robert



More information about the Mono-aspnet-list mailing list