转载自http://www.cnseay.com/2746/
今天搞一个网站,得到后台.
但是打开得到 如下错误.
403 Forbidden
Request forbidden by administrative rules.
这情况一般是 没有首页.或者限制IP. 明显后台首先是存在的.
因为是ECSHOP的系统,后台index.php不能随意更改..修改的话同时需要修改一大堆调用.不便修改,那么就是IP限制了..
http://xxx.es/es/xxxs_admin_manager/
这样访问提示
但当访问 http://xxx.es/es//xxxs_admin_manager/
这样奇迹就发生了
因为conf文件是
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
#Allow from all
Allow from 10.0.0.116
#Deny from 10.0.0.0/24
/即符合规制APACHE执行限制,当时当加多一个//APACHE规制即不生效.
test 环境
+ Server: Apache/2.2.8 (CentOS)
+ Retrieved x-powered-by header: PHP/5.2.10
+ The anti-clickjacking X-Frame-Options header is not present.
+ Root page / redirects to: http://xx/?
+ Server banner has changed from ‘Apache/2.2.8 (CentOS)’ to ‘Apache/2.2.3 (CentOS)’ which may suggest a WAF, load balancer or proxy is in place
作者:SysShell