X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fconf%2Fapache2.0%2Firspy.conf;h=e7355867a10eef31eaa34270719eced114a4c3de;hp=67161ccd2235157e9e7b39fc9c8b279d1c773ef9;hb=ad730d577f4c1146ed3e2d00d84cde45adc956b5;hpb=929666f7a7c53e064045212a810a28faf2ecc6d8 diff --git a/web/conf/apache2.0/irspy.conf b/web/conf/apache2.0/irspy.conf index 67161cc..e735586 100644 --- a/web/conf/apache2.0/irspy.conf +++ b/web/conf/apache2.0/irspy.conf @@ -11,6 +11,12 @@ # For debian & unbuntu: please read irspy/README for a list of depending packages # +# +# an irspy toroid process takes up to 90MB for each request +# 90*32 => 3GB RAM +# +MaxClients 32 + ServerName irspy.indexdata.com ServerAlias irspy2.indexdata.com irspy irspy-dev.indexdata.com @@ -48,7 +54,20 @@ Order deny,allow Allow from all - ProxyPass /toroid/ http://localhost:12367/ - ProxyPassReverse /toroid/ http://localhost:12367/ + + + # map /toroid to CGI script irspy-toroid.cgi + ScriptAlias /toroid/records /home/indexdata/irspy-toroid/irspy-toroid.cgi + + + # legacy ruby daemon + #ProxyPass /toroid/ http://localhost:12367/ + #ProxyPassReverse /toroid/ http://localhost:12367/ + + # compress output + + AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml + SetOutputFilter DEFLATE +