- use correct commands with apache on Gentoo when creating vhosts-dir/-file

This commit is contained in:
Michael Kaufmann (d00p)
2010-08-04 11:51:57 +00:00
parent f95431c55e
commit 86c881a63c

View File

@@ -27,10 +27,10 @@ return Array(
'apache2' => Array( 'apache2' => Array(
'label' => 'Apache2 Webserver', 'label' => 'Apache2 Webserver',
'commands' => Array( 'commands' => Array(
'touch ' . $settings['system']['apacheconf_vhost'], $configcommand['vhost'],
'chown root:0 ' . $settings['system']['apacheconf_vhost'], 'chown root:0 ' . $settings['system']['apacheconf_vhost'],
'chmod 0600 ' . $settings['system']['apacheconf_vhost'], 'chmod 0600 ' . $settings['system']['apacheconf_vhost'],
'touch ' . $settings['system']['apacheconf_diroptions'], $configcommand['diroptions'],
'chown root:0 ' . $settings['system']['apacheconf_diroptions'], 'chown root:0 ' . $settings['system']['apacheconf_diroptions'],
'chmod 0600 ' . $settings['system']['apacheconf_diroptions'], 'chmod 0600 ' . $settings['system']['apacheconf_diroptions'],
'mkdir -p ' . $settings['system']['documentroot_prefix'], 'mkdir -p ' . $settings['system']['documentroot_prefix'],