最新PHP超精简全站自适应小说网网站源码 正则爬取全自动采集

PHP超精简全站自适应小说源码,体积超小,压缩包仅几十K
正则爬取笔趣阁的
站点设置在:/include/config.php文件内

伪静态规则:

location / {
index index.php index.html;
 if (!-e $request_filename){
rewrite ^/list/(.+)\.html$ /theme/list.php?type=$1;
rewrite ^/book/(.+)_(.+)\.html$ /theme/book.php?uid=$1&id=$2;
rewrite ^/log/(.+)_(.+)\.html$ /theme/catalog.php?uid=$1&id=$2;
rewrite ^/read/(.+)_(.+)/(.+)\.html$ /theme/read.php?uid=$1&id=$2&pid=$3;
rewrite ^/(.+)\.html /theme/$1.php;
 }
}
© 版权声明
THE END
喜欢就支持一下吧
点赞13
分享
评论 抢沙发

请登录后发表评论