deb/apache-register-hg.bash
changeset 46 7cff6c76e744
parent 45 523b546805a7
equal deleted inserted replaced
45:523b546805a7 46:7cff6c76e744
    54     <IfModule mod_headers.c>
    54     <IfModule mod_headers.c>
    55       Header add "X-Robots-Tag" "noindex, nofollow"
    55       Header add "X-Robots-Tag" "noindex, nofollow"
    56     </IfModule>
    56     </IfModule>
    57 
    57 
    58     ScriptAliasMatch  ^/(.*)  /srv/hg/hgweb.cgi/\$1
    58     ScriptAliasMatch  ^/(.*)  /srv/hg/hgweb.cgi/\$1
       
    59     RLimitMEM 100000000
       
    60     RLimitNPROC 4
    59 
    61 
    60     <Directory "/srv/hg/">
    62     <Directory "/srv/hg/">
    61         Options +ExecCGI
    63         Options +ExecCGI
    62         Require all granted
    64         Require all granted
    63         AllowOverride None
    65         AllowOverride None
    79     <IfModule mod_headers.c>
    81     <IfModule mod_headers.c>
    80       Header add "X-Robots-Tag" "noindex, nofollow"
    82       Header add "X-Robots-Tag" "noindex, nofollow"
    81     </IfModule>
    83     </IfModule>
    82 
    84 
    83     ScriptAliasMatch  ^/(.*)  /srv/hg/hgweb.cgi/\$1
    85     ScriptAliasMatch  ^/(.*)  /srv/hg/hgweb.cgi/\$1
       
    86     RLimitMEM 100000000
       
    87     RLimitNPROC 4
    84 
    88 
    85     <Directory "/srv/hg/">
    89     <Directory "/srv/hg/">
    86         Options +ExecCGI
    90         Options +ExecCGI
    87         Require all granted
    91         Require all granted
    88         AllowOverride None
    92         AllowOverride None