From 2c277dc0c5cb936a23ee58948854b2e3eb6dd251 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 20 Feb 2014 08:42:22 +0100 Subject: add and install configuration files for apache and lighttpd --- config/lighttpd.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 config/lighttpd.conf (limited to 'config/lighttpd.conf') diff --git a/config/lighttpd.conf b/config/lighttpd.conf new file mode 100644 index 0000000..a697d8a --- /dev/null +++ b/config/lighttpd.conf @@ -0,0 +1,24 @@ +# lighttpd configuration file for cqrlogo +# +# to enable cqrlogo in lighttpd just include this configuration in main +# configuration with something like this: +# +# include "conf.d/cqrlogo.conf" + +server.modules += ( "mod_alias", "mod_fastcgi" ) +#server.modules += ( "mod_alias", "mod_cgi" ) + +alias.url += ( "/cqrlogo" => "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" ) +#alias.url += ( "/cqrlogo" => "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" ) + +fastcgi.server = ( + ".fcgi" => ( + "localhost" => ( + "max-procs" => 1, + "socket" => "/run/lighttpd/cqrlogo-fastcgi.sock", + "bin-path" => "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + ) + ) +) + +#cgi.assign = ( ".cgi" => "" ) -- cgit v1.2.3-54-g00ecf