GNU/Linux >> Belajar Linux >  >> Cent OS

CWP – Konfigurasi Apache, Status &Sertakan Conf

Untuk beberapa pengguna penting untuk melihat konfigurasi dan status Apache Web Server melalui antarmuka grafis. CWP akan membantu dalam hal ini.

Untuk melihat konfigurasi Apache Web Server, status, edit file conf:

  1. Akses CWP di domainname.com:2087
  2. Buka Pengaturan Apache->Konfigurasi Apache untuk mengedit file konfigurasi Apache utama yaitu / usr/local/Apache/conf/httpd.conf Jangan lupa untuk me-restart Apache Web Server. Anda dapat melakukan ini dari Dasbor CWP.
  3. Buka Setelan Apache->Status Apache untuk melihat status server Apache. Anda akan melihat sesuatu seperti:
    ● httpd.service - Web server Apache
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
       Active: active (running) since Sat 2018-03-31 13:21:50 EDT; 1h 0min ago
      Process: 10107 ExecStop=/usr/local/apache/bin/apachectl graceful-stop (code=exited, status=0/SUCCESS)
      Process: 10112 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=0/SUCCESS)
     Main PID: 10115 (httpd)
       CGroup: /system.slice/httpd.service
               ├─10115 /usr/local/apache/bin/httpd -k start
               ├─10120 /usr/local/apache/bin/httpd -k start
               ├─10121 /usr/local/apache/bin/httpd -k start
               ├─10122 /usr/local/apache/bin/httpd -k start
               └─12825 /usr/local/apache/bin/httpd -k start
    
    Mar 31 13:21:50 cwp1 systemd[1]: Starting Web server Apache...
    Mar 31 13:21:50 cwp1 systemd[1]: Started Web server Apache.
  4. Buka Pengaturan Apache->Apache Sertakan Conf untuk mengedit file konfigurasi tertentu. File-file ini adalah:

    domain-redirects.conf
    kosong.conf
    limit.conf
    rpaf.conf
    server-status.conf
    ssl.conf
    suphp.conf
    system-redirects.conf
    vhosts-ssl.conf
    vhosts.conf
    webmail.conf

    Mengklik nama file akan membuka file di editor teks.

    Jangan lupa untuk me-restart Apache Web Server. Anda dapat melakukan ini dari Dasbor CWP.

Video tutorial singkat untuk artikel ini:

Artikel Kb terkait: CWP – Pembuatan Ulang Apache

Artikel KB terkait: Cara memulai/menghentikan/memulai ulang layanan di Panel Web CentOS


Cent OS
  1. Lokasi File Konfigurasi Samba?

  2. CWP – Konfigurasi Apache, Status &Sertakan Conf

  3. CWP – Apache Re-Build

  1. Siapkan server web default di CWP

  2. Port yang digunakan oleh CentOS Web Panel

  3. File konfigurasi DNS /etc/named.conf dijelaskan

  1. Memahami file Konfigurasi dm-multipath /etc/multipath.conf

  2. Daftar Semua Opsi Konfigurasi yang Tersedia di vdsm.conf untuk VDSM

  3. Contoh file konfigurasi /etc/kdump.conf