diff options
author | Christian Hesse <mail@eworm.de> | 2014-02-24 14:22:29 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-02-24 14:22:29 +0100 |
commit | 0f32341ead4f1534270a82c4372d84a1aaa9b0cd (patch) | |
tree | 01d4c6b685208da529b968b8e6d804285f812341 /config | |
parent | 02502029871d055ecf02dbc172b1f450e0a09e2a (diff) | |
download | cqrlogo-0f32341ead4f1534270a82c4372d84a1aaa9b0cd.tar.gz cqrlogo-0f32341ead4f1534270a82c4372d84a1aaa9b0cd.tar.zst |
we have no static content, so install to /usr/lib/cqrlogo
Diffstat (limited to 'config')
-rw-r--r-- | config/apache.conf | 8 | ||||
-rw-r--r-- | config/lighttpd.conf | 6 |
2 files changed, 7 insertions, 7 deletions
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 <IfModule fastcgi_module> AddHandler fastcgi-script fcgi - ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + ScriptAlias /cqrlogo "/usr/lib/cqrlogo/cqrlogo.fcgi" </IfModule> # then use fcgid <IfModule !fastcgi_module> <IfModule fcgid_module> AddHandler fcgid-script fcgi - ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.fcgi" + ScriptAlias /cqrlogo "/usr/lib/cqrlogo/cqrlogo.fcgi" </IfModule> </IfModule> # and fall back to simple CGI if fastcgi modules above fail <IfModule !fastcgi_module> <IfModule !fcgid_module> - ScriptAlias /cqrlogo "/usr/share/webapps/cqrlogo/cqrlogo.cgi" + ScriptAlias /cqrlogo "/usr/lib/cqrlogo/cqrlogo.cgi" </IfModule> </IfModule> - <Directory /usr/share/webapps/cqrlogo/> + <Directory /usr/lib/cqrlogo/> Options ExecCGI Allow from all </Directory> 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" ) ) ) |