上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 40 下一页
摘要: /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) 编辑
摘要: http://www.rarlab.com/download.htm [root@bass src]# wget http://www.rarlab.com/rar/rarlinux-x64-5.4.b4.tar.gz #注意版本问题(百度网盘64:http://pan.baidu.com/s/1cl3dQu) [root@bass src]# tar -xzvf rarlinux-x64-... 阅读全文
posted @ 2016-08-01 13:37 bass 阅读(977) 评论(0) 推荐(0) 编辑
摘要: 注意:本人还没有发现这个源有什么优点!!!! 阅读全文
posted @ 2016-08-01 13:04 bass 阅读(426) 评论(0) 推荐(0) 编辑
摘要: [root@web01 default]# /app/server/nginx/sbin/nginx -t nginx: [emerg] unknown directive "if(!-e" in /app/server/nginx/conf/vhosts/default.conf:11 nginx: configuration file /app/server/nginx/conf/ngi... 阅读全文
posted @ 2016-08-01 12:08 bass 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 如:String str="abcaxc"; Patter p="ab*c"; 贪婪匹配:正则表达式一般趋向于最大长度匹配,也就是所谓的贪婪匹配。如上面使用模式p匹配字符串str,结果就是匹配到:abcaxc(ab*c)。 非贪婪匹配:就是匹配到结果就好,就少的匹配字符。如上面使用模式p匹配字符串str,结果就是匹配到:abc(ab*c)。 编程中如何区分两种模式 ... 阅读全文
posted @ 2016-08-01 11:54 bass 阅读(971) 评论(1) 推荐(0) 编辑
摘要: 元字符 描述 \ 将下一个字符标记符、或一个向后引用、或一个八进制转义符。例如,“\\n”匹配\n。“\n”匹配换行符。序列“\\”匹配“\”而“\(”则匹配“(”。即相当于多种编程语言中都有的“转义字符”的概念。 ^ 匹配输入字符串的开始位置。如果设置了RegExp对象的Multiline属性,^ 阅读全文
posted @ 2016-08-01 11:30 bass 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 1 ^以什么开头 2 ()分组 3 |或的意思 4 \d 匹配任何数字字符串 [0-9] 5 0|[1-9]\d* 0 或1-9之间的数+任意数字零次或多次 开头 6 ()分组 7 []原子表 8 [.]5匹配.5 9 ? 零次或1次 10 总结: 必须以0 或1-9+任意字符0次或多次开头,可以是.5结尾 11 <?php 12 $preg ='/^(0|[1... 阅读全文
posted @ 2016-08-01 11:23 bass 阅读(466) 评论(0) 推荐(0) 编辑
摘要: #启用错误日志,缺省情况下文件名为: hostname.err#下面2种方式均可进行错误日志的配置--log-error=file_name #命令行选项(command option)log-error=file_Name #配置文件(configure file)#查看当前的错误日志配置,缺省情 阅读全文
posted @ 2016-08-01 09:53 bass 阅读(925) 评论(0) 推荐(0) 编辑
摘要: #其中--short-form,可用"-s"代替!!! 阅读全文
posted @ 2016-07-29 13:35 bass 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 40 下一页