define a standard <Directory>-statement if no FCGID is used with Apache, fixes #32

This commit is contained in:
Michael Kaufmann (d00p)
2010-02-24 11:42:03 +00:00
parent 8fb23fcf62
commit 1d2193d0e2
2 changed files with 31 additions and 8 deletions

View File

@@ -615,7 +615,7 @@ class lighttpd
if($vhost_filename != '.'
&& $vhost_filename != '..'
&& !in_array($vhost_filename, $this->known_filenames)
&& preg_match('/^(10|20|30)_froxlor_ipandport_(.+)\.conf$/', $vhost_filename)
&& preg_match('/^(05|10|20|30)_(froxlor|syscp)_ipandport_(.+)\.conf$/', $vhost_filename)
&& file_exists(makeCorrectFile($this->settings['system']['apacheconf_vhost'] . '/' . $vhost_filename)))
{
fwrite($this->debugHandler, ' lighttpd::wipeOutOldConfigs: unlinking ' . $vhost_filename . "\n");