While setting up the Apache HTTP server in AIX, I never realize there is a log file, access_log, located at /var/log/httpd. This file is keep growing until 600+ MB, I am not able to keep track of its growing and may bring other issues in the future, may I know can I stop growing the file?
when restart apache via ssh recived this error
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 87 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf/extra/httpd-includes.conf: Could not open configuration file /etc/httpd/conf.d/pagespeed.conf: No such file or directory
I want to parse access_log and error_log of multiple apache server. But I don't know the LogFormat while parsing the logs. So before that I want to know the LogFormat which has been configured in each Apache.
One way is I can parse first httpd.conf and Find LogFormat and CustomeLog" string and get the log format.
I have one issue with my apache virtual hosting...
I have registered one domain for my personal usage purpose (exp: sandeep.com), this sandeep.com hosting done in office linux rhel-5 server, For this hosting i have modified /etc/httpd/conf/httpd.conf file and mentioned below things in end of the file...