mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
switching from addhandler to sethandler
This commit is contained in:
parent
169bd25e08
commit
a900cba77c
4 changed files with 20 additions and 16 deletions
|
@ -12,12 +12,13 @@
|
||||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||||
<Directory %sdocroot%>
|
<Directory %sdocroot%>
|
||||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
|
||||||
SSLRequireSSL
|
SSLRequireSSL
|
||||||
Options +Includes -Indexes %cgi_option%
|
AllowOverride All
|
||||||
php_admin_flag engine off
|
Options +Includes -Indexes +ExecCGI
|
||||||
Action phpcgi-script /cgi-bin/php
|
Action phpcgi-script /cgi-bin/php
|
||||||
AddHandler phpcgi-script .php
|
<Files *.php>
|
||||||
|
SetHandler phpcgi-script
|
||||||
|
</Files>
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory %home%/%user%/web/%domain%/stats>
|
<Directory %home%/%user%/web/%domain%/stats>
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
|
|
|
@ -12,11 +12,12 @@
|
||||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||||
<Directory %docroot%>
|
<Directory %docroot%>
|
||||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
AllowOverride All
|
||||||
Options +Includes -Indexes %cgi_option%
|
Options +Includes -Indexes +ExecCGI
|
||||||
php_admin_flag engine off
|
|
||||||
Action phpcgi-script /cgi-bin/php
|
Action phpcgi-script /cgi-bin/php
|
||||||
AddHandler phpcgi-script .php
|
<Files *.php>
|
||||||
|
SetHandler phpcgi-script
|
||||||
|
</Files>
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory %home%/%user%/web/%domain%/stats>
|
<Directory %home%/%user%/web/%domain%/stats>
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
|
|
|
@ -12,11 +12,12 @@
|
||||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||||
<Directory %sdocroot%>
|
<Directory %sdocroot%>
|
||||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
|
||||||
SSLRequireSSL
|
SSLRequireSSL
|
||||||
Options +Includes -Indexes %cgi_option%
|
AllowOverride All
|
||||||
php_admin_flag engine off
|
Options +Includes -Indexes +ExecCGI
|
||||||
AddHandler fcgid-script .php
|
<Files *.php>
|
||||||
|
SetHandler fcgid-script
|
||||||
|
</Files>
|
||||||
FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory %home%/%user%/web/%domain%/stats>
|
<Directory %home%/%user%/web/%domain%/stats>
|
||||||
|
|
|
@ -12,10 +12,11 @@
|
||||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||||
<Directory %docroot%>
|
<Directory %docroot%>
|
||||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
AllowOverride All
|
||||||
Options +Includes -Indexes %cgi_option%
|
Options +Includes -Indexes +ExecCGI
|
||||||
php_admin_flag engine off
|
<Files *.php>
|
||||||
AddHandler fcgid-script .php
|
SetHandler fcgid-script
|
||||||
|
</Files>
|
||||||
FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory %home%/%user%/web/%domain%/stats>
|
<Directory %home%/%user%/web/%domain%/stats>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue