問:FTP IP:jywh2019.gotoftp3.com    FTP ID:jywh2019,麻煩看看數據庫還有沒有備份

答:您好,

問:Apache規則做轉換
RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule !.(js|ico|gif|jpe?g|bmp|png|css)$ /index.php [NC,L]

答:您好,

<?xml version="1.0" encoding="UTF-8"?>
   <configuration>
     <system.webServer>
       <rewrite>
         <rules>
            <rule name="Imported Rule 1" stopProcessing="true">
              <match url=".*\\.(?:gif|ico|jpg|png|bmp|css|js|jpeg)" />
             <action type="Rewrite" url="{R:0}" />
           </rule>
           <rule name="Imported Rule 2" stopProcessing="true">
              <match url="^(?!/index.php)(?!/.php)(.*)$" ignoreCase="false" />
              <conditions logicalGrouping="MatchAll">
              <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
              </conditions>
             <action type="Rewrite" url="/index.php/{R:1}" />
           </rule>
        </rules>
      </rewrite>
   </system.webServer>
</configuration>

您可使用此規則保存在/www/web.config下試試,非常感謝您長期對我司的支持!謝謝!

更多關于云服務器域名注冊,虛擬主機的問題,請訪問三五互聯官網:www.shinetop.cn
贊(0)
聲明:本網站發布的內容(圖片、視頻和文字)以原創、轉載和分享網絡內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。郵箱:3140448839@qq.com。本站原創內容未經允許不得轉載,或轉載時需注明出處:三五互聯知識庫 » 麻煩看看數據庫還有沒有備份

登錄

找回密碼

注冊