IT站点使用说明
/data.rar 缓存文件 可有可无 还是下载
/icon.rar 广告管理 CSS样式
/uploadfile.rar 附件
/FUCK_data.rar 数据库
/FUCK_PC.rar 程序
上面的是整个站点的数据 下载下来 然后解压
Fuck_PC.rar 这个文件是整个的程序 解压出来以后 修改2个地方 一个是 include/config.inc.php 修改里面的 数据库连接 还有cookie作用域
然后修改第二个地方 /data/config.js 修来JS作用域名
然后把数据库FUCK_data.rar解压出来 这个是程序上的 你可以直接解复制到 Mysql的Data 目录下面 里面有2个文件夹 一个是程序的数据库 一个是广告管理系统的数据库(貌似失败了,不能用)
uploadfile.rar 这个文件比较大 解压后放在根目录下面 然后绑定域名 img.xxx.com到 /uploadfile/store/
icon.rar 解压出来 可以放任何地方 绑定域名 icon.xxx.com 到 /icon/icon 绑定 click.xxx.com 到 /icon/adsense
data.rar 这个可以先下载也可以不下载 下载了放在 站点根目录/data下面是个缓存文件
Nginx下面的伪静态规则
rewrite ^([^\.]*)/detail/([0-9]+)/index\.html$ $1/store/detail.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/price\.html$ $1/store/price.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/param\.html$ $1/store/info.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/pic\.html$ $1/store/images.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/article\.html$ $1/store/article.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/review\.html$ $1/store/comment.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/online\.html$ $1/store/online.php?storeid=$2 last;rewrite ^([^\.]*)/detail/([0-9]+)/pro_hit\.html$ $1/store/pro_hit.php?storeid=$2 last;rewrite ^([^\.]*)/d_([0-9]+)/$ $1/cp/web/index.php?id=$2 last;rewrite ^([^\.]*)/d_([0-9]+)/prolist\.html$ $1/cp/web/prolist.php?id=$2 last;rewrite ^([^\.]*)/d_([0-9]+)/company\.html$ $1/cp/web/company.php?id=$2 last;rewrite ^([^\.]*)/d_([0-9]+)/prolist-([0-9]+)\.html$ $1/cp/web/prolist.php?id=$2&catid=$3 last;rewrite ^([^\.]*)/d_([0-9]+)/prolist-([0-9]+)-([0-9]+)\.html $1/cp/web/prolist.php?id=$2&catid=$3&brandid=$4 last;
IIS下面的伪静态规则
RewriteRule ^(.*)/detail/([0-9]+)/index\.html$ $1/store/detail\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/price\.html$ $1/store/price\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/param\.html$ $1/store/info\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/pic\.html$ $1/store/images\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/article\.html$ $1/store/article\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/review\.html$ $1/store/comment\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/online\.html$ $1/store/online\.php\?storeid=$2
RewriteRule ^(.*)/detail/([0-9]+)/pro_hit\.html$ $1/store/pro_hit\.php\?storeid=$2
RewriteRule ^(.*)/d_([0-9]+)/$ $1/cp/web/index\.php\?id=$2
RewriteRule ^(.*)/d_([0-9]+)/prolist\.html$ $1/cp/web/prolist\.php\?id=$2
RewriteRule ^(.*)/d_([0-9]+)/company\.html$ $1/cp/web/company\.php\?id=$2
RewriteRule ^(.*)/d_([0-9]+)/prolist-([0-9]+)\.html$ $1/cp/web/prolist\.php\?id=$2&catid=$3
RewriteRule ^(.*)/d_([0-9]+)/prolist-([0-9]+)-([0-9]+)\.html $1/cp/web/prolist\.php\?id=$2&catid=$3&brandid=$4
Apache 下面的伪静态规则
RewriteRule ^/detail/([0-9]+)/index\.html$ /store/detail.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/price\.html$ /store/price.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/param\.html$ /store/info.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/pic\.html$ /store/images.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/article\.html$ /store/article.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/review\.html$ /store/comment.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/online\.html$ /store/online.php?storeid=$1
RewriteRule ^/detail/([0-9]+)/pro_hit\.html$ /store/pro_hit.php?storeid=$1
RewriteRule ^/d_([0-9]+)/$ /cp/web/index.php?id=$1
RewriteRule ^/d_([0-9]+)/prolist\.html$ /cp/web/prolist.php?id=$1
RewriteRule ^/d_([0-9]+)/company\.html$ /cp/web/company.php?id=$1
RewriteRule ^/d_([0-9]+)/prolist-([0-9]+)\.html$ /cp/web/prolist.php?id=$1&catid=$2
RewriteRule ^/d_([0-9]+)/prolist-([0-9]+)-([0-9]+)\.html /cp/web/prolist.php?id=$1&catid=$2&brandid=$3
未完待续 以上的规则没有测试 如果有问题的话 麻烦在下面回复下 我会修正