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/apache.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 config/apache.conf (limited to 'config/apache.conf') diff --git a/config/apache.conf b/config/apache.conf new file mode 100644 index 0000000..61eff91 --- /dev/null +++ b/config/apache.conf @@ -0,0 +1,32 @@ +# Apache configuration file for cqrlogo +# +# to enable cqrlogo in apache just make sure modules mod_alias and either +# of mod_fastcgi and mod_fcgid are loaded + + + # try fastcgi first + + AddHandler fastcgi-script fcgi + ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + + + # then use fcgid + + + AddHandler fcgid-script fcgi + ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + + + + # and fall back to simple CGI if fastcgi modules above fail + + + ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.cgi" + + + + + Options ExecCGI + Allow from all + + -- cgit v1.2.3-54-g00ecf