# httpd -t
# httpd -S
If the syntax of the output will look like this:-
Syntax OK
it mean you configure correctly.
If the out put similar with this,
Syntax error on line 44 of /etc/apache/httpd.conf:
bla...bla...bla.....
correct the syntax and try start again:-
# vi +44 /etc/apache/httpd.conf
For more info ,check log file :-
tail -f /var/log/httpd-error.log
egrep -i 'warn|error' /var/log/httpd-error.log
0 comments:
Post a Comment