apache + log file for virtualhost problem

Hi,
i configure apache for virtualhost with the following configuration:

<VirtualHost host.some_domain.com>
ServerAdmin webmaster@host.some_domain.com
DocumentRoot /www/docs/host.some_domain.com
ServerName host.some_domain.com
ErrorLog logs/host.some_domain.com-error_log
TransferLog logs/host.some_domain.com-access_log
</VirtualHost>

The problem is when user that own this domain log in via FTP, and remove the log file, the apache will be down apache + log file for virtualhost problem

How to solve this problem? can apache check whether there's a log file or not, if not it will generate new log file not down.

thanks!

 

 

 

 

Top