中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线
標(biāo)題:
[求助]
WDC不支持 dz3.1的偽靜態(tài)規(guī)則嘛?無論怎么設(shè)置都不行,求大神幫忙
[打印本頁]
作者:
279015453
時間:
2014-1-10 22:15
標(biāo)題:
WDC不支持 dz3.1的偽靜態(tài)規(guī)則嘛?無論怎么設(shè)置都不行,求大神幫忙
1、進(jìn)入你的網(wǎng)站后臺,SEO設(shè)置,勾選要為
偽靜態(tài)
的項目,提交,然后在右上側(cè),點“查看當(dāng)前的 Rewrite 規(guī)則”,在彈出的新頁面的最下面是Nginx Web Server規(guī)則內(nèi)容,將內(nèi)容復(fù)制。
2、進(jìn)入WD后臺,左側(cè)網(wǎng)站管理--Rewrite規(guī)則管理,點增加--輸入文件名 dx3.1_nginx.conf,將復(fù)制的內(nèi)容粘貼到內(nèi)容框內(nèi),保存。
3、左側(cè)點擊站點列表,找到你的站點,編輯,最下面 支持rewrite 里選擇剛剛增加的規(guī)則,保存。
嚴(yán)格按照上面的步驟操作的,可是不行,用wdc后臺設(shè)置偽靜態(tài),無論設(shè)置什么樣的規(guī)則,都是404,求大神指點·
作者:
6108865
時間:
2014-1-12 09:00
本帖最后由 6108865 于 2014-1-12 09:01 編輯
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/topic-(.+)\.html$ $1/portal.php?mod=topic&topic=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/article-([0-9]+)-([0-9]+)\.html$ $1/portal.php?mod=view&aid=$2&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/group-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=group&fid=$2&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/blog-([0-9]+)-([0-9]+)\.html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/(fid|tid)-([0-9]+)\.html$ $1/index.php?action=$2&value=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ $1/plugin.php?id=$2:$3&%1
</IfModule>
作者:
6108865
時間:
2014-1-12 09:01
這是我的規(guī)則,演示地址bbs.370827.org
作者:
桂林仔
時間:
2014-2-21 16:33
我的也是不行,我總還以為是我服務(wù)器環(huán)境出了問題,論壇分類是可以偽靜態(tài),但貼子和文章內(nèi)容就不行,求解決
歡迎光臨 WDlinux官方論壇 (http://ahbydz.com/bbs/)
Powered by Discuz! 7.2