04 2016 档案

摘要:1.创建一个404错误时显示的页面 2.在nginx.conf中的http区域加入: fastcgi_intercept_errors on; 3.在nginx.conf的server区域(如果网站有单独的配置文件,则需要在其配置文件的server区域内加入)加入: error_page 404 = 阅读全文
posted @ 2016-04-27 16:15 洋葱土豆随心匠 阅读(646) 评论(0) 推荐(0) 编辑
摘要:var stateObject = {};var title = "";var newUrl = "/";history.pushState(stateObject,title,newUrl); 阅读全文
posted @ 2016-04-26 16:09 洋葱土豆随心匠 阅读(1722) 评论(0) 推荐(0) 编辑
摘要:一、DATE_ADD() 函数向日期添加指定的时间间隔。 type 参数可以是下列值: 示例: date 参数是合法的日期表达式。expr 参数是您希望添加的时间间隔。 type 参数可以是下列值: YEAR_MONTH 示例 阅读全文
posted @ 2016-04-20 09:16 洋葱土豆随心匠 阅读(217) 评论(0) 推荐(0) 编辑
摘要:一、修改默认端口号 第一步: vi /etc/sysconfig/iptables 添加修改后的端口号的配置 -A INPUT -p tcp -m state --state NEW -m tcp --dport 22001 -j ACCEPT 本例中,使用22001端口 添加后保存配置并重启防火墙 阅读全文
posted @ 2016-04-18 14:31 洋葱土豆随心匠 阅读(2585) 评论(0) 推荐(0) 编辑
摘要:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You 阅读全文
posted @ 2016-04-01 10:32 洋葱土豆随心匠 阅读(1849) 评论(0) 推荐(0) 编辑