国产精品久久久久久久久久,国产午夜视频在线观看,中文字幕av久久爽av蜜月交换,夜夜高潮夜夜爽国产伦精品,国产特级毛片AAAAAAA高清

購物車中還沒有商品,趕緊選購吧!

思途CMS Apache偽靜態配置

發布日(ri)期:2023-11-17 閱讀:1682

#以下是全(quan)部代碼(ma),請(qing)全(quan)部復制粘貼,修改網站根目錄的.htaccess文件,綠色部(bu)分自行替換成自己網(wang)站域名(ming)!!假如(ru)我的域名(ming)是www.v6.com

 

# Turn on URL rewriting

RewriteEngine On

 

# Installation directory

RewriteBase /

#substation start

RewriteCond %{HTTP_HOST} ^(.*)?.v6.com$

RewriteCond %{HTTP_HOST} !^(www).v6.com$

RewriteRule ^(lines|hotels|cars|spots|raiders|photos)(/)?$ $1/%1 [L]

#substation end

 

# m域名(ming)部分(fen),有(you)m域名(ming)才需要(yao),沒有(you)就請刪(shan)除這段(duan)

#mobile start

RewriteCond %{HTTP_HOST} ^m.v6.com$

RewriteCond %{REQUEST_URI} !^/uploads/

 RewriteRule (.*) /phone/$1 [L]

#mobile end

# m域名(ming)部分,有m域名(ming)才需要(yao),沒(mei)有就請刪除這(zhe)段!

 

 

RewriteRule ^(uploads/.*?_(\d+)x(\d+)\.(jpg|gif|png|jpeg))$ /images/index?file=$1&w=$2&h=$3&type=$4 [L,NC,R]

 

# Protect hidden files from being viewed

<Files .*>

Order Deny,Allow

Deny From All

</Files>

 

 

# Protect application and system files from being viewed

RewriteRule ^(?:v5|modules|system)\b.* index.php/$0 [L]

 

# Allow any files or directories that exist to be displayed directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !^/(uploads|public|newtravel|phone|payment|plugins|h5)(/)?

#RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite all other URLs to index.php/URL

RewriteRule (.*) index.php [QSA,L,E=PATH_INFO:/$1]


以上內容是否對您有幫助? 您的反饋信息提交成功,謝謝您的反饋!

會員評論

在(zai)線客(ke)服(fu)
微(wei)信咨詢
微信咨詢
現在咨詢,獲取演示賬號
企業logo小米
立即掃碼加我微信
電話(hua)咨詢
咨詢電話
028-61558715
預(yu)約演示