remove all cgi btw. fastcgi dependencies
This commit is contained in:
parent
d95ebd4957
commit
b16ba63833
@ -81,8 +81,12 @@
|
||||
RewriteEngine On
|
||||
RewriteOptions Inherit
|
||||
|
||||
#if( ${cgi} )
|
||||
RewriteCond %{REQUEST_URI} !^/cgi-bin/
|
||||
#end
|
||||
#if( ${fastcgi} )
|
||||
RewriteCond %{REQUEST_URI} !^/fastcgi-bin/
|
||||
#end
|
||||
RewriteCond %{HTTP_HOST} ^(.+)\.${dom.name}\.?(:[0-9]+)?$ [novary]
|
||||
RewriteCond /home/doms/${dom.name}/subs/#[[${tolower:%1} ]]# -d
|
||||
RewriteRule ^(.*) /home/doms/${dom.name}/subs/#[[${tolower:%1}$1 ]]# [last]
|
||||
@ -95,11 +99,13 @@
|
||||
RewriteRule ^(.*) - [redirect=404,last]
|
||||
|
||||
#end
|
||||
#if( ${fastcgi} )
|
||||
#if( ${fcgiphpbin} )
|
||||
FcgidInitialEnv HTTP_PHP_BIN ${fcgiphpbin}
|
||||
#end
|
||||
AddType application/x-httpd-php .php
|
||||
Action application/x-httpd-php /fastcgi-bin/phpstub
|
||||
#end
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost ${pac.curINetAddr.inet4Addr}:443 ${pac.oldINetAddr.inet4Addr}:443 [${pac.curINetAddr.inet6Addr}]:443 [${pac.oldINetAddr.inet6Addr}]:443>
|
||||
@ -186,8 +192,12 @@
|
||||
RewriteEngine On
|
||||
RewriteOptions Inherit
|
||||
|
||||
#if( ${cgi} )
|
||||
RewriteCond %{REQUEST_URI} !^/cgi-bin/
|
||||
#end
|
||||
#if( ${fastcgi} )
|
||||
RewriteCond %{REQUEST_URI} !^/fastcgi-bin/
|
||||
#end
|
||||
RewriteCond %{HTTP_HOST} ^(.+)\.${dom.name}\.?(:[0-9]+)?$ [novary]
|
||||
RewriteCond /home/doms/${dom.name}/subs-ssl/#[[${tolower:%1} ]]# -d
|
||||
RewriteRule ^(.*) /home/doms/${dom.name}/subs-ssl/#[[${tolower:%1}$1 ]]# [last]
|
||||
@ -200,11 +210,11 @@
|
||||
RewriteRule ^(.*) - [redirect=404,last]
|
||||
|
||||
#end
|
||||
|
||||
#if( ${fastcgi} )
|
||||
#if( ${fcgiphpbin} )
|
||||
FcgidInitialEnv HTTP_PHP_BIN ${fcgiphpbin}
|
||||
#end
|
||||
AddType application/x-httpd-php .php
|
||||
Action application/x-httpd-php /fastcgi-bin/phpstub
|
||||
|
||||
#end
|
||||
</VirtualHost>
|
||||
|
Loading…
Reference in New Issue
Block a user