From 0f32341ead4f1534270a82c4372d84a1aaa9b0cd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 24 Feb 2014 14:22:29 +0100 Subject: we have no static content, so install to /usr/lib/cqrlogo --- config/apache.conf | 8 ++++---- config/lighttpd.conf | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/apache.conf b/config/apache.conf index 61eff91..4854335 100644 --- a/config/apache.conf +++ b/config/apache.conf @@ -7,25 +7,25 @@ # try fastcgi first AddHandler fastcgi-script fcgi - ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + ScriptAlias /cqrlogo "/usr/lib/cqrlogo/cqrlogo.fcgi" # then use fcgid AddHandler fcgid-script fcgi - ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + ScriptAlias /cqrlogo "/usr/lib/cqrlogo/cqrlogo.fcgi" # and fall back to simple CGI if fastcgi modules above fail - ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.cgi" + ScriptAlias /cqrlogo "/usr/lib/cqrlogo/cqrlogo.cgi" - + Options ExecCGI Allow from all diff --git a/config/lighttpd.conf b/config/lighttpd.conf index a697d8a..e69be48 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -8,15 +8,15 @@ 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" ) +alias.url += ( "/cqrlogo" => "/usr/lib/cqrlogo/cqrlogo.fcgi" ) +#alias.url += ( "/cqrlogo" => "/usr/lib/cqrlogo/cqrlogo.fcgi" ) fastcgi.server = ( ".fcgi" => ( "localhost" => ( "max-procs" => 1, "socket" => "/run/lighttpd/cqrlogo-fastcgi.sock", - "bin-path" => "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + "bin-path" => "/usr/lib/cqrlogo/cqrlogo.fcgi" ) ) ) -- cgit v1.2.3-70-g09d2