Control Web Panel
		WebPanel => Apache => Topic started by: Xor 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:
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.
			 
			
			- 
				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.
			 
			
			- 
				Yep, all quotes need to be escaped. The current GUI doesn't even accept manual input.
Thank you! 
			 
			
			- 
				Thanks