1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays |
2 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-03-08 02:32:52.038000000 -0500 |
3 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-03-08 02:33:23.967000000 -0500 |
4 |
|
|
@@ -17,6 +17,9 @@ |
5 |
|
|
my $version = PhpFpmVersionToUse($ibay); |
6 |
|
|
my $name = lc $key; |
7 |
|
|
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 .= " TimeOut=$timeout\n ProxyTimeout=$timeout\n" unless $timeout == 300; |
10 |
|
|
+ |
11 |
|
|
$OUT .=<<"_EOF"; |
12 |
|
|
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1 |
13 |
|
|
<FilesMatch \\.$FilesMathes\$> |