永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放

Board logo

標(biāo)題: [求助] 設(shè)置nginx的偽靜態(tài)規(guī)則后,在網(wǎng)站開(kāi)啟偽靜態(tài)無(wú)效,求解! [打印本頁(yè)]

作者: wpcd008    時(shí)間: 2011-12-23 18:42     標(biāo)題: 設(shè)置nginx的偽靜態(tài)規(guī)則后,在網(wǎng)站開(kāi)啟偽靜態(tài)無(wú)效,求解!

location / {
rewrite /index\.html$ /index.php last;
rewrite /sitemap\.html$ /sitemap.php last;
rewrite /malllist\.html$ /malllist.php last;
rewrite /shoplist\.html$ /shoplist.php last;
rewrite /article\.html$ /article.php last;
rewrite /user/center\.html$ /user/center.php last;
rewrite /mall-(.*)-(.*)-(.*)\.html$ /mall.php?id=$1&act=$2&page=$3 last;
rewrite /mall-(.*)-(.*)\.html$ /mall.php?id=$1&act=$2 last;
rewrite /mall-(.*)\.html$ /mall.php?id=$1 last;
rewrite /view-(.*)-(.*)\.html$ /view.php?iid=$1&page=$2 last;
rewrite /view-(.*)\.html$ /view.php?iid=$1 last;
rewrite /malllist-(.*)-(.*)-(.*)\.html$ /malllist.php?catid=$1&mall=$2&page=$3 last;
rewrite /article_list-(.*)-(.*)\.html$ /article_list.php?cid=$1&page=$2 last;
rewrite /article_list-(.*)\.html$ /article_list.php?cid=$1 last;
rewrite /read-(.*)\.html$ /read.php?id=$1 last;
rewrite /shoplist-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /shoplist.php?cid=$1&keyword=$2&start_level=$3&end_level=$4&area=$5&px=$6&cpr=$7&type=$8&page=$9 last;
rewrite /list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /list.php?cid=$1&start_price=$2&end_price=$3&sort=$4&area=$5&guarantee=$6&list=$7&q=$8&page=$9 last;
rewrite /shop-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /shop.php?nick=$1&start_price=$2&end_price=$3&sort=$4&area=$5&guarantee=$6&list=$7&q=$8&page=$9 last;
rewrite /shoplist-(.*)\.html$ /shoplist.php?cid=$1 last;
rewrite /shop-(.*)\.html$ /shop.php?nick=$1 last;
rewrite /list-(.*)\.html$ /list.php?cid=$1 last;
rewrite /list\.html$ /list.php last;
rewrite /huangou-(.*)\.html$ /huangou.php?id=$1 last;
rewrite /huan-(.*)-(.*)\.html$ /huan.php?keyword=$1&page=$2 last;
rewrite /huan\.html$ /huan.php last;
rewrite /coupons-(.*)-(.*)\.html$ /coupons.php?cid=$1&page=$2 last;
rewrite /coupons\.html$ /coupons.php last;
rewrite /cuxiao-(.*)\.html$ /cuxiao.php?id=$1 last;
rewrite /tg-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /tg.php?city_id=$1&catid=$2&mallid=$3&keyword=$4&page=$5 last;
rewrite /tg-(.*)-(.*)-(.*)-(.*)\.html$ /tg.php\?city_id=$1&catid=$2&mallid=$3&page=$4 last;
rewrite /tg-(.*)-(.*)-(.*)\.html$ /tg.php?city_id=$1&catid=$2&mallid=$3 last;
rewrite /tg-(.*)\.html$ /tg.php?city_id=$1 last;
rewrite /tg\.html$ /tg.php last;
rewrite /tgview-(.*)\.html$ /tgview.php?id=$1 last;
}

規(guī)則沒(méi)錯(cuò)吧。我在管理面板里添加了,也上傳到網(wǎng)站根目錄下了,就是訪(fǎng)問(wèn)靜態(tài)URL無(wú)效。PHP正常。

該怎么辦呀,剛從KLOXO轉(zhuǎn)到國(guó)產(chǎn)的面板來(lái)。
作者: wpcd008    時(shí)間: 2011-12-23 18:43

我也重啟了WEB服務(wù)。 也是訪(fǎng)問(wèn)靜態(tài)URL無(wú)效 。PHP正常。
作者: wpcd008    時(shí)間: 2011-12-23 19:59

有沒(méi)有朋友,也遇到過(guò)我這樣的問(wèn)題呀
作者: admin    時(shí)間: 2011-12-24 12:23

先確認(rèn)規(guī)則本身是否能正常使用,可以直接加在虛擬主機(jī)配置段里測(cè)試




歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/) Powered by Discuz! 7.2