1.上传源码至站点根目录,PHP版本推荐5.x; 解压密码:kxdao
Nginx伪静态规则: rewrite ^/index.html$ /index.php; rewrite ^/app.html$ /app.php; rewrite ^/mv.html$ /mv.php; rewrite ^/tv.html$ /tv.php; rewrite ^/cx.html$ /cx.php; rewrite ^/yy.html$ /yy.php; rewrite ^/book.html$ /book.php; rewrite ^/hall.html$ /hall.php; rewrite ^/fuli.html$ /fuli.php; rewrite ^/zhibo.html$ /zhibo.php; rewrite ^/music.html$ /music.php; rewrite ^/movie.html$ /movie.php; rewrite ^/zongyi.html$ /zongyi.php; rewrite ^/dongman.html$ /dongman.php; rewrite ^/vod(.*)$ /play.php/?play=$1; rewrite ^/mvplay/(.*).html$ /mv.php/?play=$1; rewrite ^/cxplay/(.*).html$ /cxplay.php/?id=$1; rewrite ^/yplay/(.*).html$ /yplay.php/?post=$1; rewrite ^/mc_(.*)_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?cat=$1&page=$2; rewrite ^/ma_(.*)_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?area=$1&page=$2; rewrite ^/my_(.*)_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?year=$1&page=$2; rewrite ^/movie_hot_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?rank=rankhot&page=$1; rewrite ^/movie_time_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?rank=createtime&page=$1; rewrite ^/movie_point_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?rank=rankpoint&page=$1; rewrite ^/tc_(.*)_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?cat=$1&page=$2; rewrite ^/ta_(.*)_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?area=$1&page=$2; rewrite ^/ty_(.*)_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?year=$1&page=$2; rewrite ^/zc_(.*)_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?cat=$1&page=$2; rewrite ^/za_(.*)_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?area=$1&page=$2; rewrite ^/zy_(.*)_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?act=$1&page=$2; rewrite ^/zongyi_time_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?rank=createtime&page=$1; rewrite ^/zongyi_hot_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?rank=rankhot&page=$1; rewrite ^/dc_(.*)_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?cat=$1&page=$2; rewrite ^/da_(.*)_([0-9]+).html$ /dongman.php/?m=/dongman/l
ist.php/?area=$1&page=$2; rewrite ^/dy_(.*)_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?year=$1&page=$2; rewrite ^/dongman_hot_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?rank=rankhot&page=$1; rewrite ^/dongman_time_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?rank=createtime&page=$1; rewrite ^/tv_hot_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?rank=rankhot&page=$1; rewrite ^/gb_(.*).html$ /book.php?page=$1; rewrite ^/cx_(.*)_([0-9]+).html$ /cx.php/?cid=$1&page=$2; rewrite ^/yy_(.*).html$ /yy.php?list=$1; rewrite ^/cx_(.*)_([0-9]+).html$ /cx.php/?cid=$1&page=$2; rewrite ^/mv_(.*)_([0-9]+).html$ /mv.php/?sid=$1&pageno=$2;
rewrite ^/mv_so_(.*).html /mv.php/?sousuo=$1;
安装好后显示 Warning: mysql_connect(): Access denied for user ‘root’@’localhost’ (using password: YES) in /www/wwwroot/XXXXXXXX/upload/system/conn.php on line 9
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片?
- 小耳朵涂涂网