马上注册,让你轻松玩转程序园
您需要 登录 才可以下载或查看,没有账号?立即注册
x
时间泛目录程序下载:(vip会员免费下载)
下载链接.txt
(37 Bytes, 下载次数: 3, 售价: 50 USD)
使用环境:
Linux+Nginx+php 小弟测试nginx1.17+php5.6
nginx伪静态:
- rewrite ^/index.html$ /index.php;
- rewrite ^/sitemap.xml$ /sitemap.php;
- location / {
- if (!-e $request_filename) {
- rewrite ^(.*)$ /404.php?s=$1 last;
- break;
- }
- }
- location /typecho/ {
- if (!-e $request_filename) {
- rewrite ^(.*)$ /typecho/index.php$1 last;
- }
- }
复制代码
时间泛目录程序
404错误页面设置为:error_page 404 =200/404.html;
==============================================
==============================================
程序主配置文件:pz.php
userads目录为广告页面
pic.php为图片采集 在宝塔计时任务添加访问就行
baidu.php为主动推送 默认推送500条 自己修改下域名和token 在宝塔计时任务添加访问就行
==============================================
==============================================
宝塔计划2条任务
访问链接:
域名/baidu.php
域名/pic.php
程序结构:
├404.php
├baidu.php (百度推送)
├favicon.ico ( 图标)
├index.php (程序首页)
├pic.php (图片采集)
├pz.php (配置文件)
├sitemap.php (网站地图)
├userads.php (广告管理)
├使用必读!!!!!.txt
├<chengxu>
│ ├<data>
│ │ ├ascii.txt (ascii干扰码)
│ │ ├description.txt (描述文件)
│ │ ├fbt.txt (副标题)
│ │ ├js.txt
│ │ ├link.txt
│ │ ├title.txt
│ │ ├wzmc.txt (网站名称)
│ │ ├xslx.txt
│ │ ├zz.txt(作者)
│ │ ├<juzi> (句子库)
│ │ │ └1.txt
│ │ ├<xs> (小说名)
│ │ │ ├xms2.txt
│ │ │ └xsm.txt
│ │ ├<zj>
│ │ │ └1.txt
│ ├<key> (关键词目录)
│ │ ├
│ │ └keyword.txt
│ ├<moban>
│ │ ├article.html(内页模板)
│ │ └index.html(首页模板)
├<templates>
│ ├<html5>
│ │ ├<css>
│ │ │ └site.css
│ │ ├<fonts>
│ │ │ ├glyphicons-halflings-regular.eot
│ │ │ ├glyphicons-halflings-regular.svg
│ │ │ ├glyphicons-halflings-regular.ttf
│ │ │ ├glyphicons-halflings-regular.woff
│ │ │ └glyphicons-halflings-regular.woff2
│ │ ├<images>
│ │ │ ├23500s.jpg
│ │ │ ├30517s.jpg
│ │ │ ├32005s.jpg
│ │ │ ├32068s.jpg
│ │ │ ├32074s.jpg
│ │ │ └nocover.svg
│ │ ├<js>
│ │ │ └common.js
├<uploads>
│ ├<images> (图片存储在这个文件夹内)
│ │ └cc.png
├<userads>
│ ├<android>
│ │ └index.html
│ ├<ios>
│ │ └index.html
│ ├<pc>
│ │ └index.html
常用标签:
<章节1>-<章节14>
<随机章节>
<随机小说名>
<小说名1>-<小说名70>
<随机作者>
<小说类型>
<视频>
<网站名称>
<随机端口>
<副标题>
<随机关键词>
<随机域名>
<标题>
<描述>
<随机关键词>
<关键词1>-<关键词60>
<句子>
<文章模块>
<ascii>
<随机图片>
<时钟>
<发布时间>
<外链>
<年>
<月>
<日>
<随机字符>
<随机数字1>-<随机数字9>
<当前域名>
<当前url>
|