Wednesday, January 14, 2015

appache erro

while creating appache web page,
i  got the error

Please i had make any mistake

i got the error. kindly check  my attachment also
--
[root@server ~]# httpd -t
Syntax error on line 998 of /etc/httpd/conf/httpd.conf:
CustomLog takes two or three arguments, a file name, a custom log
format string or format name, and an optional "env=" clause (see docs)


its 
CustomLog logs/prasad.local_access_log common

Not 
CustomLog logs/prasad.local_access_log_common

_____________________________________________________________________________________________

Please remove the "_" before "common". It should be like "log common".
For reference check the example above ur virtual host.
Remove # before ur virtual host lines ;)

No comments:

Post a Comment