久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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)站

      wamp怎么去掉index.php

      wamp去掉index.php的方法:1、在httpd.conf配置文件中加載mod_rewrite.so模塊;2、將None改為All;3、將URL_MODEL設(shè)置為2;4、將htaccess文件放到根目錄下。

      wamp怎么去掉index.php

      本文操作環(huán)境:windows7系統(tǒng)、PHP7.1版,DELL G3電腦

      wamp怎么去掉index.php?WAMP中 省略index.php

      1.httpd.conf配置文件中加載了mod_rewrite.so模塊 //在APACHE里面去配置

      #LoadModule rewrite_module modules/mod_rewrite.so把前面的警號(hào)去掉

      2.AllowOverride None 講None改為 All //在APACHE里面去配置 (注意其他地方的AllowOverride也統(tǒng)統(tǒng)設(shè)置為ALL)

      <Directory "D:/server/apache/cgi-bin"> AllowOverride none  改   AllowOverride ALL Options None Order allow,deny Allow from all </Directory>

      3.確保URL_MODEL設(shè)置為2,在項(xiàng)目的配置文件里寫

      return Array(    'URL_MODEL' => '2', );

      4 .htaccess文件必須放到跟目錄下

      這個(gè)文件里面加:

      <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] </IfModule>

      推薦學(xué)習(xí):《PHP視頻教程》

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