<menu id="guoca"></menu>
<nav id="guoca"></nav><xmp id="guoca">
  • <xmp id="guoca">
  • <nav id="guoca"><code id="guoca"></code></nav>
  • <nav id="guoca"><code id="guoca"></code></nav>

    可以在哪里找到 Apache Web 服務器的所有配置路徑

    apache主配置文件的位置在哪里?可以在哪里找到Apache Web服務器的所有配置路徑?


    發現錯別字 2年前 提問
    回答
    1
    瀏覽
    360
    請勿發布不友善或者負能量的內容。與人為善,比聰明更重要!
    回答數量: 1
    風險管理(專業級)RM/PL 高級信息系統項目管理師

    Apache默認的配置路徑放在: (RHEL/CentOS/Fedora) 中是在 /etc/httpd/ on 而(Debian/Ubuntu) 是在/etc/apache2下 .

    [root@tecmint ~]# cd /etc/httpd/
    [root@tecmint httpd]# ls -l
    total 8
    drwxr-xr-x. 2 root root 4096 Dec 24 21:44 conf
    drwxr-xr-x. 2 root root 4096 Dec 25 02:09 conf.d
    lrwxrwxrwx  1 root root   19 Oct 13 19:06 logs -> ../../var/log/httpd
    lrwxrwxrwx  1 root root   27 Oct 13 19:06 modules -> ../../usr/lib/httpd/modules
    lrwxrwxrwx  1 root root   19 Oct 13 19:06 run -> ../../var/run/httpd
    [root@tecmint ~]# cd /etc/apache2
    [root@tecmint apache2]# ls -l
    total 84
    -rw-r--r-- 1 root root  7113 Jul 24 16:15 apache2.conf
    drwxr-xr-x 2 root root  4096 Dec 16 11:48 conf-available
    drwxr-xr-x 2 root root  4096 Dec 16 11:45 conf.d
    drwxr-xr-x 2 root root  4096 Dec 16 11:48 conf-enabled
    -rw-r--r-- 1 root root  1782 Jul 21 02:14 envvars
    -rw-r--r-- 1 root root 31063 Jul 21 02:14 magic
    drwxr-xr-x 2 root root 12288 Dec 16 11:48 mods-available
    drwxr-xr-x 2 root root  4096 Dec 16 11:48 mods-enabled
    -rw-r--r-- 1 root root   315 Jul 21 02:14 ports.conf
    drwxr-xr-x 2 root root  4096 Dec 16 11:48 sites-available
    drwxr-xr-x 2 root root  4096 Dec  6 00:04 sites-enabled

    回答所涉及的環境:聯想天逸510S、Windows 10。

    2年前 / 評論
    亚洲 欧美 自拍 唯美 另类