X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=web%2Fconf%2Fapache2.0%2Firspy.conf;h=3ba0447c52e18d18c190d5e83f728118501eecf9;hb=e6353cd614e8c2566d2562a6725bf854ed3ab3dc;hp=67161ccd2235157e9e7b39fc9c8b279d1c773ef9;hpb=929666f7a7c53e064045212a810a28faf2ecc6d8;p=irspy-moved-to-github.git diff --git a/web/conf/apache2.0/irspy.conf b/web/conf/apache2.0/irspy.conf index 67161cc..3ba0447 100644 --- a/web/conf/apache2.0/irspy.conf +++ b/web/conf/apache2.0/irspy.conf @@ -11,9 +11,15 @@ # 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 + ServerAlias irspy02.indexdata.com irspy irspy-dev.indexdata.com irspy-dev ErrorLog /var/log/apache2/irspy-error.log CustomLog /var/log/apache2/irspy-access.log combined @@ -40,7 +46,7 @@ AuthType Basic AuthName "IRSpy Administration" AuthUserFile /home/indexdata/irspy/web/conf/htpasswd - Require user admin + Require user admin irspy ProxyRequests off @@ -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 +