mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -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
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
SSLRequireSSL
|
||||
Options +Includes -Indexes %cgi_option%
|
||||
php_admin_flag engine off
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
Action phpcgi-script /cgi-bin/php
|
||||
AddHandler phpcgi-script .php
|
||||
<Files *.php>
|
||||
SetHandler phpcgi-script
|
||||
</Files>
|
||||
</Directory>
|
||||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
AllowOverride All
|
||||
|
|
|
@ -12,11 +12,12 @@
|
|||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
Options +Includes -Indexes %cgi_option%
|
||||
php_admin_flag engine off
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
Action phpcgi-script /cgi-bin/php
|
||||
AddHandler phpcgi-script .php
|
||||
<Files *.php>
|
||||
SetHandler phpcgi-script
|
||||
</Files>
|
||||
</Directory>
|
||||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
AllowOverride All
|
||||
|
|
|
@ -12,11 +12,12 @@
|
|||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %sdocroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
SSLRequireSSL
|
||||
Options +Includes -Indexes %cgi_option%
|
||||
php_admin_flag engine off
|
||||
AddHandler fcgid-script .php
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
<Files *.php>
|
||||
SetHandler fcgid-script
|
||||
</Files>
|
||||
FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
||||
</Directory>
|
||||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
|
|
|
@ -12,10 +12,11 @@
|
|||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
Options +Includes -Indexes %cgi_option%
|
||||
php_admin_flag engine off
|
||||
AddHandler fcgid-script .php
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
<Files *.php>
|
||||
SetHandler fcgid-script
|
||||
</Files>
|
||||
FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
||||
</Directory>
|
||||
<Directory %home%/%user%/web/%domain%/stats>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue