diff --git a/apache.cf b/apache.cf index 0a1480e..19f5d21 100644 --- a/apache.cf +++ b/apache.cf @@ -13,6 +13,9 @@ classes: # "apache enable_php"; vars: + "default_php_handler" string => "application/x-httpd-php", unless => isvariable( $(this.promiser)); + + "admin_email" string => "[]",unless => isvariable( $(this.promiser) ) ; @@ -216,7 +219,7 @@ commands: reports: } -bundle agent install_apache +bundle agent install_apache(raw) { methods: @@ -338,7 +341,7 @@ vars: "doc_root":"$(apache.www_dir)/$(site_param[domain])", "doc_root_options":"Indexes FollowSymLinks", "php":true, - "php_handler":"application/x-httpd-php" + "php_handler":"$(apache.default_php_handler)" } ';