字典/成語/古詩詞/英語單詞/造句/近反義詞漢語知識/範文大全

程序介紹
文件目錄:1個數據庫 1個系統源碼 1個偽靜態規則
安裝方式:把1.2G的程序上傳到網站 , 接着把800多M的數據庫導入數據庫即可,然後在:/e/config/config.php 把裏面的數據庫賬戶密碼修改為自己的就行了
最好是php5.6
訪問後台:www.xx.com/e/admin 密碼必須重新安裝個php重置插件。
好了,自己研究吧
nginx配置開啟ssi
#開啟ssi
ssi on;
ssi_silent_errors on;
ssi_types text/shtml;
ssi_types text/html;
#如果是html結尾的就這樣寫
寶塔面板單個網站開啟SSI
server
{
listen 80;
listen 443 ssl http2;
server_name 506064.com www.506064.com;
index index.php index.html index.htm default.php default.htm default.html;
<添加上面代碼開始區域
ssi on;
ssi_silent_errors on;
ssi_types text/shtml;
ssi_types text/html; 結束區域>
root /www/wwwroot/506064.com;

偽靜態規則
rewrite ^/poetry/([0-9]+)\.html$ /e/action/poetry.php?classid=4&id=$1 last;
rewrite ^/poetry/fanyi-([0-9]+)\.html$ /e/action/fanyi.php?classid=4&id=$1 last;
rewrite ^/poetry/pinyin-([0-9]+)\.html$ /e/action/pinyin.php?classid=4&id=$1 last;
rewrite ^/poetry/shang-([0-9]+)\.html$ /e/action/shang.php?classid=4&id=$1 last;
rewrite ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+).html$ $1/e/tags/itag.php?py=$2&page=$3 last;
rewrite ^([^\.]*)/gushi/([a-z0-9]+).html$ $1/e/tags/itag.php?py=$2 last;
rewrite ^/jf/([_0-9]*).html$ /e/action/show.php?classid=169&id=$1 last;
rewrite ^/qiming/([_0-9]*).html$ /e/action/show.php?classid=160&id=$1 last;
rewrite ^/zidian/(?!index\.html)([a-zA-Z0-9]+)\.html$ /e/action/show.php?classid=5&id=$1 last;
rewrite ^/chengyu/(.*)/$ /e/action/cy.php?classid=14&id=$1 last;
location /zaoju/ {
rewrite ^/zaoju/([a-z0-9]+).html$ /e/action/show.php?classid=175&id=$1 last;
}
location / {
rewrite ^/cidian/(.*)/$ /e/action/cidian.php?classid=10&id=$1 last;
}
location = /zaoju/index.html {
}
下載地址:
鏈接: https://pan.baidu.com/s/1J3DN1sv71jK5NBkrJxK2Xw?pwd=3b59 提取碼: 3b59
原創文章,作者:簡單一點,如若轉載,請註明出處:https://www.506064.com/zh-hk/n/2552.html