/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11427-timeout.patch
ViewVC logotype

Diff of /rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11427-timeout.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Mon Mar 8 08:56:59 2021 UTC Revision 1.3 by jpp, Mon Mar 8 09:07:31 2021 UTC
# Line 5  diff -Nur --no-dereference smeserver-php Line 5  diff -Nur --no-dereference smeserver-php
5                      my $version = PhpFpmVersionToUse($ibay);                      my $version = PhpFpmVersionToUse($ibay);
6                      my $name = lc $key;                      my $name = lc $key;
7                      my $FilesMathes = ( ($ibay->prop('AllowPHTML') || 'disabled') eq 'enabled' ) ? '(xml|phtml|html|htm|php|phar)': '(phar|php)';                      my $FilesMathes = ( ($ibay->prop('AllowPHTML') || 'disabled') eq 'enabled' ) ? '(xml|phtml|html|htm|php|phar)': '(phar|php)';
8  +                   my $timeout =  $ibay->prop('timeout') ||300; #default in the config here. apache default 60  +                  
9  +                   $OUT .= "    ProxyTimeout $timeout\n" unless $timeout == 300;  +                  
10  +  +
11                      $OUT .=<<"_EOF";                      $OUT .=<<"_EOF";
12       SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1       SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed