国语对白无码视频最新|久久久久人妻一区视色|国产精品制服丝袜美腿控|A v无码久久久久不卡|激情久久AV一区二区AV|制服丝袜亚洲欧美一区二区|99人妻碰碰碰久久久久禁片|亚洲国产成人无码av在线播放

購(gòu)物車(chē)中還沒(méi)有商品,趕緊選購(gòu)吧!

思途CMS Apache偽靜態(tài)配置

發(fā)布日期:2023-11-17 閱讀:1242

#以下是全部代碼,請(qǐng)全部復(fù)制粘貼,修改網(wǎng)站根目錄的.htaccess文件,綠色部分自行替換成自己網(wǎng)站域名!!假如我的域名是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域名部分,有m域名才需要,沒(méi)有就請(qǐng)刪除這段

#mobile start

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

RewriteCond %{REQUEST_URI} !^/uploads/

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

#mobile end

# m域名部分,有m域名才需要,沒(méi)有就請(qǐng)刪除這段!

 

 

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]


以上內(nèi)容是否對(duì)您有幫助? 您的反饋信息提交成功,謝謝您的反饋!

會(huì)員評(píng)論

在線客服
微信咨詢(xún)
微信咨詢(xún)
現(xiàn)在咨詢(xún),獲取演示賬號(hào)
企業(yè)logo小米
立即掃碼加我微信
電話咨詢(xún)
咨詢(xún)電話
028-61558715
預(yù)約演示