<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 偽靜態配置教程 ##### 1、打開代碼配置文件config.php 開啟偽靜態(false改為true) # ![](https://img.kancloud.cn/0a/bf/0abf308861f505b9ddb89a294a3e002c_389x375.png)![](https://img.kancloud.cn/23/2f/232f81aaa79ea96f4346c51ec63d88e7_887x417.png) ##### 2、后臺開啟pathinfo模式 ![](https://img.kancloud.cn/04/84/04847539e436cb8b8dd554fcd1367b4b_954x562.png) ##### 3、環境配置 ### Nginx配置 找到nginx的配置文件Nginx.conf添加偽靜態配置代碼(以下代碼) location / { ``` if \(!-e $request\_filename\) { rewrite ^\(.\*\)$ /index.php?s=$1 last; break; } ``` } ### **Apache配置** 1、httpd.conf配置文件中加載了mod\_rewrite.so模塊 2、AllowOverride None 將None改為 All ### IIS配置 如果你的服務器環境支持ISAPI\_Rewrite的話,可以配置httpd.ini文件,添加下面的內容: RewriteRule \(.\*\)$ /index.php\?s=$1 \[I\] 在IIS的高版本下面可以配置web.Config,在中間添加rewrite節點: &lt;rewrite&gt; &lt;rules&gt; &lt;rule name="OrgPage" stopProcessing="true"&gt; &lt;match url="^\(.\*\)\[ DISCUZ\_CODE\_1 \]quot; /&gt; &lt;conditions logicalGrouping="MatchAll"&gt; &lt;add input="{HTTP\_HOST}" pattern="^\(.\*\)\[ DISCUZ\_CODE\_1 \]quot; /&gt; &lt;add input="{REQUEST\_FILENAME}" matchType="IsFile" negate="true" /&gt; &lt;add input="{REQUEST\_FILENAME}" matchType="IsDirectory" negate="true" /&gt; &lt;/conditions&gt; &lt;action type="Rewrite" url="index.php/{R:1}" /&gt; &lt;/rule&gt; &lt;/rules&gt; &lt;/rewrite&gt; ##### 四、配置后對比 配置前 ![](https://img.kancloud.cn/33/12/33125437c2e01fad95b89d2d23aee29c_696x39.png) 配置后 ![](https://img.kancloud.cn/17/b5/17b5103fa82d6d9a28aa68b38b3928d4_564x40.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看