define default_php_handler in apache
This commit is contained in:
parent
e94b6c6f7e
commit
80b7db0e57
|
@ -13,6 +13,9 @@ classes:
|
||||||
# "apache enable_php";
|
# "apache enable_php";
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
"default_php_handler" string => "application/x-httpd-php", unless => isvariable( $(this.promiser));
|
||||||
|
|
||||||
|
|
||||||
"admin_email" string => "[]",unless => isvariable( $(this.promiser) ) ;
|
"admin_email" string => "[]",unless => isvariable( $(this.promiser) ) ;
|
||||||
|
|
||||||
|
|
||||||
|
@ -216,7 +219,7 @@ commands:
|
||||||
reports:
|
reports:
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle agent install_apache
|
bundle agent install_apache(raw)
|
||||||
{
|
{
|
||||||
|
|
||||||
methods:
|
methods:
|
||||||
|
@ -338,7 +341,7 @@ vars:
|
||||||
"doc_root":"$(apache.www_dir)/$(site_param[domain])",
|
"doc_root":"$(apache.www_dir)/$(site_param[domain])",
|
||||||
"doc_root_options":"Indexes FollowSymLinks",
|
"doc_root_options":"Indexes FollowSymLinks",
|
||||||
"php":true,
|
"php":true,
|
||||||
"php_handler":"application/x-httpd-php"
|
"php_handler":"$(apache.default_php_handler)"
|
||||||
}
|
}
|
||||||
';
|
';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue