Author Topic: Apache LogFormat problem  (Read 21254 times)

0 Members and 1 Guest are viewing this topic.

Apache LogFormat problem
« on: April 20, 2014, 10:11:28 PM »

On a fresh default install of WebPanel (CentOS 6), saving of httpd.conf via GUI results in error:

Code: [Select]
Starting httpd: Syntax error on line 497 of /etc/httpd/conf/httpd.conf:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional format name

The LogFormat block hasn't been touched. Commenting out the top two directives (combined and common) seems to fix the issue and httpd restarts normally. I do wish to use combined log though.

Any idea what could be wrong?

Thank you in advance.

Re: Apache LogFormat problem
« Reply #1 on: April 22, 2014, 05:12:16 PM »
this was probably problem while editing httpd.conf with CWP file editor, php has some problem editing this line.

This will be fixed in newer versions.
AntiDDoS Protection (web + mail)

Join our Development Team and get paid !

Services Monitoring & RBL Monitoring

Do you need Fast and FREE Support included for your CWP linux server?
Installation Instructions
Get Fast Support Here

Re: Apache LogFormat problem
« Reply #2 on: April 24, 2014, 09:00:22 AM »
Yep, all quotes need to be escaped. The current GUI doesn't even accept manual input.

Thank you!

Re: Apache LogFormat problem
« Reply #3 on: May 07, 2014, 04:42:35 AM »