<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國際加速解決方案。 廣告
                # Cherokee 安裝說明(Cherokee Installation Notes) [Cherokee](http://www.cherokee-project.com/)是一個高性能的web服務器。它非常快,運行穩定并且易于配置。 ## 針對Phalcon的Cherokee配置 Cherokee提供了友好的界面來設置幾乎web服務器全部可用的配置。 使用root帳號執行 /path-to-cherokee/sbin/cherokee-admin 可以開啟cherokee管理員。 ![../_images/cherokee-1.jpg](http://docs.iphalcon.cn/_images/cherokee-1.jpg) 通過點擊“vServers”便可創建一個新的虛擬機,然后添加一個新的虛擬服務器: ![../_images/cherokee-2.jpg](http://docs.iphalcon.cn/_images/cherokee-2.jpg) 屏幕左欄會顯示最近添加的虛擬服務器。在“Behaviors”(行為)標簽中,你可以看到這個虛擬服務器一系列默認的行為操作。 點擊“Rule Management”(規則管理)按鈕。刪除“Directory /cherokee\_themes”和“Directory /icons”這些標簽。 ![../_images/cherokee-3.jpg](http://docs.iphalcon.cn/_images/cherokee-3.jpg) 接著使用向導添加“PHP Language”(PHP語言)。這樣你就可以運行你的PHP應用了: ![../_images/cherokee-4.jpg](http://docs.iphalcon.cn/_images/cherokee-4.jpg) 通常這個操作不需要額外的配置。在“Manual Configuration”(配置管理)部分,添加另一個操作。 在“Rule Type”(規則類型)下拉中選擇“File Exists”(已存在的文件),然后確保選項“Match any file”(匹配任何文件)勾選了enabled(開啟): ![../_images/cherokee-55.jpg](http://docs.iphalcon.cn/_images/cherokee-55.jpg) 在“Handler”(處理器)標簽中選擇“List & Send”作為處理器: ![../_images/cherokee-7.jpg](http://docs.iphalcon.cn/_images/cherokee-7.jpg) 編輯“Default”(默認)行為以便可以開啟URL重寫引擎。修改處理器為“Redirection”(重定向), 然后將以下正則表達式 ^(.\*)$ 添加到引擎中: ![../_images/cherokee-6.jpg](http://docs.iphalcon.cn/_images/cherokee-6.jpg) 最后,確保上面的行為操作符合以下的順序: ![../_images/cherokee-8.jpg](http://docs.iphalcon.cn/_images/cherokee-8.jpg) 在瀏覽器中執行對應的應用: ![../_images/cherokee-9.jpg](http://docs.iphalcon.cn/_images/cherokee-9.jpg)
                  <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>

                              哎呀哎呀视频在线观看