
Cara check syntax konfigurasi apache di linux
Command
- Cara check configurasi syntax apache di Centos
# apachectl configtest
Syntax OK# apachectl -t
Syntax OK - Cara check konfigurasi syntax apache di fedora
# apachectl configtest
or
# apachectl -SVirtualHost configuration:
192.168.1.16:80 is a NameVirtualHost
default server ns1.hostnic.id (/etc/apache2/conf/httpd.conf:301)
port 80 namevhost ns1.hostnic.id (/etc/apache2/conf/httpd.conf:301)
port 80 namevhost hostnic.id (/etc/apache2/conf/httpd.conf:362)
alias mail.hostnic.id
alias www.hostnic.id
port 80 namevhost hostnic.id (/etc/apache2/conf/httpd.conf:431)
alias mail.hostnic.id
alias hostnic.id - Cara check konfigurasi syntax apache di ubuntu dan debian
# apachectl configtest
Syntax OK# apachectl -t
Syntax OK

Di tulis oleh: Nanda Anubis