欧美亚洲中文,在线国自产视频,欧洲一区在线观看视频,亚洲综合中文字幕在线观看

      1. <dfn id="rfwes"></dfn>
          <object id="rfwes"></object>
        1. 站長資訊網(wǎng)
          最全最豐富的資訊網(wǎng)站

          nginx如何隱藏index.php

          nginx隱藏index.php的方法:直接在vhosts.conf配置文件中添加代碼“if ( !-e $request_filename) {rewrite ^/(.*)$ /index.php/$1 last;break;}”即可。

          nginx如何隱藏index.php

          首先打開項目配置文件vhosts.conf;

          (推薦教程:nginx使用教程)

          然后在配置文件中添加如下代碼即可。

          if ( !-e $request_filename) { 	rewrite ^/(.*)$ /index.php/$1 last; 	break; }

          具體配置如圖:

          nginx如何隱藏index.php

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