摘要: /123/xxx >xxx?id=123 最后得出只留网站根目录下的 sss即/app/www/default/sss/index.html 如果/app/www/sss/index.html 改为别的名子如k.html请求会失败(这个规则到底是有什么意义????) 阅读全文
posted @ 2016-08-02 16:07 bass 阅读(3096) 评论(0) 推荐(0) 编辑
摘要: 例如: /caffespressos/指向/web01/caffe/ 阅读全文
posted @ 2016-08-02 13:16 bass 阅读(766) 评论(0) 推荐(0) 编辑
摘要: /ck-135-201-7142.html 指向/ck/135/201/7142.html 阅读全文
posted @ 2016-08-02 12:27 bass 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 网页的根目录本来是: 6 root /app/www/default; 参数:access_log off >关闭了记录这个页面的到访问日志里!!!默认是记录访问日志的。 阅读全文
posted @ 2016-08-02 11:42 bass 阅读(341) 评论(0) 推荐(0) 编辑
摘要: [root@web01 default]# tree data/ data/ └── index.html 0 directories, 1 file [root@web01 default]# cat data/index.html this is data!!!! [root@web01 default]# curl http://192.168.1.24/data/ this ... 阅读全文
posted @ 2016-08-02 10:04 bass 阅读(362) 评论(0) 推荐(0) 编辑
摘要: [root@web01 default]# mkdir cron templates [root@web01 default]# tree . ├── cron └── templates 2 directories, 0 files [root@web01 default]# tree . ├── cron │ └── index.html └── templates ... 阅读全文
posted @ 2016-08-02 09:56 bass 阅读(307) 评论(0) 推荐(0) 编辑
摘要: [root@web01 321]# cat /app/server/nginx/conf/rewrite/default.conf #rewrite ^/index\.html /index.php last; #if (!-e $request_filename) rewrite ^/(.*)$ index.php last; #if (!-e $request_filename) {r... 阅读全文
posted @ 2016-08-02 09:24 bass 阅读(582) 评论(0) 推荐(0) 编辑