【发布时间】:2016-08-16 12:27:06
【问题描述】:
我在 codeigniter 框架中开发了一个 webportal,但是当我尝试在共享托管服务器中托管时,我会收到此错误。
www.abc.com 重定向您的次数过多。 ERR_TOO_MANY_REDIRECTS
我不知道是什么问题
这是我的.htaccess 文件
RewriteEngine on
# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteCond %{REQUEST_URI} ^application.*[NC]
RewriteRule (.*?)index\.php/*(.*) $1$2 [R=301,NE,L]
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
更新 我已经联系了托管支持团队,他们说这是一个模式安全错误。这里有关于它的日志。
ModSecurity:访问被拒绝并重定向到 http://spotmyticket.com/ 使用状态 302(阶段 4)。模式匹配 RESPONSE_STATUS 处的“^5\\d{2}$”。 [文件 “/usr/local/apache/conf/modsec_vendor_configs/OWASP/rules/RESPONSE-50-DATA-LEAKAGES.conf”] [line "14"] [id "970901"] [rev "3"] [msg "The Application Returned a 500 级状态码”] [数据“匹配数据:500 内找到 RESPONSE_STATUS: 500"] [严重性“错误”] [版本“OWASP_CRS/3.0.0”] [成熟度“9”] [准确度“9”] [标签“主机:spotmyticket.com”] [标签 “应用程序多”] [标签“语言多”] [标签“平台多”] [标签“攻击信息泄露”] [标签“WASCTC/WASC-13”] [标签 “OWASP_TOP_10/A6”] [标签“PCI/6.5.6”] [主机名“spotmyticket.com”] [uri "/index.php"] [unique_id "VxpEf2f3YKwABUKkyP4AAABb"]
【问题讨论】:
标签: php .htaccess codeigniter