摘要:
a.查看防火墙规则 iptables -L -n 1.配置规则 iptables -A INPUT -s 192.168.0.1 -p tcp --dport 3306 -j ACCEPT (允许192.168.0.1访问本机3306端口) 或者在配置文件中编写 etc/sysconfig/ipta 阅读全文
摘要:
服务器配置ubuntu16,nginx,php5.6-fpm 我的问题是用户组没有权限导致出现访问PHP文件时An error occurred.,访问Html页面正常。 查看Nginx日志报错(路径:/var/log/nginx/error.log, 不同版本路径可在nginx配置文件中查看) 2 阅读全文
摘要:
var agent = navigator.userAgent; if (/.*Firefox.*/.test(agent)) { //只兼容火狐浏览器 document.addEventListener("DOMMouseScroll", function(e) { e = e || window.event; var detail =... 阅读全文
摘要:
外部引入JS <script src="http://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script> 标签添加样式 article,aside,dialog,footer,header,section,footer,nav,figure,m 阅读全文