久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      apache開啟url重寫的方法

      apache開啟url重寫的方法

      Apache 2.x 中URL重寫,是通過mod_rewrite.so 來實(shí)現(xiàn)的,所以需要查看Apache 是否已經(jīng)被編譯進(jìn)這個(gè)模塊了,并且在Apache的配置文件httpd.conf 中已經(jīng)調(diào)用了這個(gè)模塊。

      (推薦教程:apache從入門到精通)

      Linux下apache開啟url重寫的方法:

      1、打開 apache 里httpd.conf(通常是在/etc/httpd/conf目錄里)

      2、找到 #LoadModule rewrite_module modules/mod_rewrite.so 去掉前面的#

      3、找到 AllowOverride None 改成 AllowOverride All , 有兩個(gè)全部改掉

      注:AllowOverride 的參數(shù)設(shè)置為ALL,表示整臺服務(wù)器上都支持URL規(guī)則重寫。

      Apache 服務(wù)器要讀每個(gè)網(wǎng)站下目錄下的 .htaccess 文件。如果沒有這個(gè)文件,或者這個(gè)文檔沒有定義任何關(guān)于URL重寫的規(guī)則就不會有任何效果。

      4、重啟apache

      service httpd restart

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號