标题:
[求助]
帮忙看看这伪静态规则是不是写对
[打印本页]
作者:
xiaogan
时间:
2014-3-10 16:06
标题:
帮忙看看这伪静态规则是不是写对
我把用.htaccess的方式直接放到网站的根目录下网站还是显示404.
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^/list/(\d+)_(\d+)_(\d+)_([a-z0-9]{1,5})_([a-z0-9]{1,5})_([a-z0-9]{1,5})_([a-z0-9]{1,5}).html$ /list/list.php?bcid=$1&p2=$2&cid=$3&dq=$4&yy=$5&y=$6&t=$7
RewriteRule ^/list/(\d+)_(\d+)_(\d+)_([a-z0-9]{1,5})_([a-z0-9]{1,5})_([a-z0-9]{1,5})_([a-z0-9]{1,5})_(\d+).html$ /list/list.php?bcid=$1&p2=$2&cid=$3&dq=$4&yy=$5&y=$6&t=$7&p=$8
RewriteRule ^/zy/?$ /list/list.php?bcid=18&p2=0&cid=0&dq=0&yy=0&y=0&t=0&p=new
RewriteRule ^/dp/?$ /list/list.php?bcid=27&p2=0&cid=0&dq=0&yy=0&y=0&t=0&p=new
RewriteRule ^/mv/?$ /list/list.php?bcid=22&p2=0&cid=0&dq=0&yy=0&y=0&t=0&p=new
RewriteRule ^/vod-(.*)-pid-(\d+)\.html$ /e/zxfcode/search.php?tbname=movie&classid=$2&keyboard=$1&tempid=2
RewriteRule ^/vod-(.*)-p-(\d+)\.html$ /e/zxfcode/search.php?tbname=movie&page=$2&keyboard=$1&classid=$2&tempid=2
RewriteRule ^/vod-(.*)\.html$ /e/zxfcode/search.php?tbname=movie&keyboard=$1&tempid=2
RewriteRule ^/hddown/(\d+)\.html$ /hddown/url.php?id=$1&t=1
RewriteRule ^/mp4down/(\d+)\.html$ /hddown/url.php?id=$1&t=2
RewriteRule ^/rmvbdown/(\d+)\.html$ /hddown/url.php?id=$1&t=3
RewriteRule ^/3gpdown/(\d+)\.html$ /hddown/url.php?id=$1&t=4
RewriteRule ^/hddown/(\d+)_(\d+)\.html$ /hddown/url.php?id=$1&t=1&vid=$2
RewriteRule ^/mp4down/(\d+)_(\d+)\.html$ /hddown/url.php?id=$1&t=2&vid=$2
RewriteRule ^/rmvbdown/(\d+)_(\d+)\.html$ /hddown/url.php?id=$1&t=3&vid=$2
RewriteRule ^/3gpdown/(\d+)_(\d+)\.html$ /hddown/url.php?id=$1&t=4&vid=$2
RewriteRule ^/play/(\d+)_(\d+)\.html$ /play/url.php?id=$1&vid=$2
RewriteRule ^/movie/(\d+)_(\d+)\.html$ /movie/url.php?id=$1&vid=$2
RewriteRule ^/zt/index\.html$ /zt/index.php
RewriteRule ^/zt/index_(\d+)\.html$ /zt/index.php?p=$1
RewriteRule ^/zt/list_(\d+)_(\d+)\.html$ /zt/index.php?cid=$1&p=$2
RewriteRule ^/zt/list_(\d+)\.html$ /zt/index.php?cid=$1
欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/)
Powered by Discuz! 7.2