nightcrawler99
New member
- Joined
- Aug 14, 2007
- Messages
- 2
I have a virtual host that was created that has been working fine for a year:
From my httpd.conf file:
The 'ServerName' used to be 'localhost' when it was created. The other day, I changed this to 'www.romhacking.net' to work with mod_cband, a newly installed apache module. This was the ONLY parameter changed for this virtual host.
Everything works fine after this change except, webalizer is no longer updated automatically via DirectAdmin. The Direct Admin log shows the tally and update executes 10 minutes after midnight as it's supposed to without errors, but the actual webalizer output is not updated.
It seems clear to me that the problem is probably something to do with the logs somehow, however I'm unsure how to fix this with DA.
Can anybody help with this issue? Was there another way through DirectAdmin that I should have changed the 'ServerName' of the virtual host instead of via the httpd.conf file directly? I didn't think it would make much difference. Any assistance would be appreciated.
From my httpd.conf file:
Code:
LogFormat "%b \"%r\"" homedir
#The default site for the server.
<VirtualHost 72.249.100.45:80>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /home/admin/domains/romhacking.net/public_html
ServerName www.romhacking.net
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CBandRemoteSpeed 30kb/s 3 3
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
The 'ServerName' used to be 'localhost' when it was created. The other day, I changed this to 'www.romhacking.net' to work with mod_cband, a newly installed apache module. This was the ONLY parameter changed for this virtual host.
Everything works fine after this change except, webalizer is no longer updated automatically via DirectAdmin. The Direct Admin log shows the tally and update executes 10 minutes after midnight as it's supposed to without errors, but the actual webalizer output is not updated.
It seems clear to me that the problem is probably something to do with the logs somehow, however I'm unsure how to fix this with DA.
Can anybody help with this issue? Was there another way through DirectAdmin that I should have changed the 'ServerName' of the virtual host instead of via the httpd.conf file directly? I didn't think it would make much difference. Any assistance would be appreciated.