Cara check syntax konfigurasi apache di linux


Command

  1. Cara check configurasi syntax apache di Centos
    # apachectl configtest
    Syntax OK# apachectl -t
    Syntax OK
  2. 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
  3. Cara check konfigurasi syntax apache di ubuntu dan debian
    # apachectl configtest
    Syntax OK# apachectl -t
    Syntax OK
Baca Juga:  Install Apache Web Server di Debian 10

Di tulis oleh: