四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

無標(biāo)題文檔
wdCP系統(tǒng) (介紹,功能特性,運(yùn)行環(huán)境,安裝說明,演示,常見問題,使用教程) wdCDN系統(tǒng) (介紹,功能特性,運(yùn)行環(huán)境,安裝說明,演示,常見問題,使用手冊)
wdOS系統(tǒng) (介紹,功能特性,運(yùn)行環(huán)境,安裝說明,演示,常見問題,使用教程) wdDNS系統(tǒng) (介紹,功能特性,運(yùn)行環(huán)境,安裝說明,演示,常見問題,使用手冊)
注冊 發(fā)貼 提問 回復(fù)-必看必看 wddns免費(fèi)智能 DNS 開通 本地或虛擬機(jī)使 用wdcp 一鍵包在mysql編 譯時"卡住"
AI導(dǎo)航網(wǎng)AI應(yīng)用網(wǎng)站大全 wdcp官方技術(shù)支持/服務(wù) 阿里云8折優(yōu)惠券 無敵云 騰訊云優(yōu)惠中,現(xiàn)注冊更有260代金額券贈送
返回列表 發(fā)帖
提問三步曲: 提問先看教程/FAQ索引(wdcp,wdcp_v3,一鍵包)及搜索,會讓你更快解決問題
1 提供詳細(xì),如系統(tǒng)版本,wdcp版本,軟件版本等及錯誤的詳細(xì)信息,貼上論壇或截圖發(fā)論壇
2 做過哪些操作或改動設(shè)置等

溫馨提示:信息不詳,很可能會沒人理你!論壇有教程說明的,也可能沒人理!因?yàn)?你懂的

[求助] 請問Apache下的htaccess為什么無效

htaccess 內(nèi)容如下,放到public_html目錄下沒有效果,是不是格式不對?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

Options -Indexes

<filesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=259200000, public"
</filesMatch>
<filesMatch "\.(js|css|pdf)$">
Header set Cache-Control "max-age=7200, public"
</filesMatch>
<filesMatch "\.(txt|xml)$">
Header set Cache-Control "max-age=3600, public, must-revalidate"
</filesMatch>
<FilesMatch "\.(html|htm|xhtml)$">
Header set Cache-Control "max-age=6, private, proxy-revalidate"
</filesMatch>
<filesMatch "\.(pl|php|cgi|spl)$">
Header unset Cache-Control
Header unset Expires
Header unset Last-Modified
FileETag None
Header unset Pragma
</filesMatch>
AddType application/octet-stream .pdf
AddType application/octet-stream .zip
AddType application/octet-stream .mov
AddType 'application/xhtml+xml; charset=UTF-8' xhtml
AddDefaultCharset UTF-8
AddType application/x-httpd-php php php3 php4 php5 php6 html

<Files sitemap.xml>
Header set X-Robots-Tag "noindex"
</Files>

# 沒有www的網(wǎng)址或者子域名301永久轉(zhuǎn)向到有www的網(wǎng)址并且忽略查詢字符串
RewriteCond %{HTTP_HOST} !^www\.weixingon\.com$ [NC]
RewriteRule ^(.*)$ http://www.xxx.com/$1? [L,R=301]

RewriteCond %{http_host} ^000.000.00.00 [NC]
RewriteRule ^(.*)$ http://www.xxx.com/$1 [L,R=301]

# htm結(jié)尾的網(wǎng)址301轉(zhuǎn)到html結(jié)尾的同名網(wǎng)址
RedirectMatch 301 ^(.*)\.htm$ http://www.xxx.com$1.html

# index.html結(jié)尾的網(wǎng)址301轉(zhuǎn)到斜杠結(jié)尾的網(wǎng)址
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html$ http://www.xxx.com/$1 [L,R=301]

# index.php 重定向到 index.html
RewriteRule index.html$ index.php [PT]

</IfModule>

返回列表