Author Topic: Apache LogFormat problem  (Read 22292 times)

0 Members and 2 Guests are viewing this topic.

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

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
                                                           [FAILED]

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.

Offline
*
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)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
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!

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