[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache Server Log Rotation




| Most files in http.conf are referenced relative to the server root.  So
| if you're somewhere else and run the script, it can't find the file.
| >From your prompt, I'd say you're in "/root", which means the script is
| looking for log files in "/root/conf.d/bla/bla".
| 
| Try "cd /etc/httpd" then run the script.  Or, modify the

--->  This also results in a similar error message


| 	push @files, $2;
| 
| to say
| 
| 	push @files, "$server_root/$2";


---> This works!


| >   http://www.sgowtham.net/scripts.html

Thanks for debugging it :)

Regards,
Gowtham