
Apache
zhengchaooo
111
展开
-
APACHE禁用OPTION方法
未禁用OPTION方法火狐访问 禁用APACHE,OPTION方法编辑httpd.conf<VirtualHost *:60081> ServerAdmin systemadmin@zongteng.me ServerName 192.168.15.63 DocumentRoot /home/w/html/zt2878 <Directory /ho...原创 2018-03-09 17:13:07 · 6291 阅读 · 0 评论 -
后端Apache日志获取前端Nginx反向代理的真实IP地址
php查看客户访问真实地址代码<?phpfunction real_ip(){ static $realip = NULL; if ($realip !== NULL) { return $realip; } if (isset($_SERVER)) { if (isset($_SERVER['HTTP_...原创 2018-03-09 17:15:02 · 1811 阅读 · 0 评论