Guest_imported
New member
- Jan 1, 1970
- 0
Having issues with apache randomly righting to log files.
I currently have 4 virtual sub-domains writing to the same ErrorLog/CustomLog file
example:
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName domain.com
ServerAlias ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName sub2.domain.com
ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName sub3.domain.com
ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName sub4.domain.com
ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Unfortunately, it rights to the log file, randomly..
Sometimes it works and sometimes it doesn't.. Don't
know what is wrong. Besides that Apache runs fine..
I know this should work. Any suggestions?
I currently have 4 virtual sub-domains writing to the same ErrorLog/CustomLog file
example:
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName domain.com
ServerAlias ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName sub2.domain.com
ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName sub3.domain.com
ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 66.134.xx.xx:80>
ServerAdmin admin@domain.com
DocumentRoot / ServerName sub4.domain.com
ErrorLog / CustomLog / combined
<Directory />
Options ALL
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Unfortunately, it rights to the log file, randomly..
Sometimes it works and sometimes it doesn't.. Don't
know what is wrong. Besides that Apache runs fine..
I know this should work. Any suggestions?