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?
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.
After installing PHP, Apache's httpd.conf file is having trouble with "line 53" when starting the Apache service.
If I comment out this line I get no errors and Apache configtest passes. Line 53 is the module for PHP. There is a matching .so file in that location. The httpd.conf line seems ok.
LoadModule php4_module libexec/httpd/libphp4.so
I am trying to install apache 2.2.22 on Solaris 10 but getting below error message when starting apache:
Server type is set to [HTTP]
running /opt/apache/conf/startup.pl for groups shared mem
Starting Apache HTTPD service with SSL disabled
httpd: Syntax error on line 454 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 9 of /opt/apache/conf/localserver