.htaccess文件codeigniter:无法访问网站

时间:2016-04-25 13:58:25

标签: php apache .htaccess codeigniter

我正在使用codeigniter项目,当我将代码移动到实时服务器时,无法访问它。 我的项目文件夹名称为agentportal,我将整个文件从此移动到我的实时服务器上的public_html文件夹。 但该网站无法联系到我与托管支持团队联系,他们说它是mode security issue

这是服务器的日志。

  

[error] [client 182.75.75.90] ModSecurity:拒绝访问   使用状态302(阶段4)重定向到http://spotmyticket.com/。   模式匹配" ^ 5 \\ d {2} $"在RESPONSE_STATUS。 [文件   " /usr/local/apache/conf/modsec_vendor_configs/OWASP/rules/RESPONSE-50-DATA-LEAKAGES.conf"]   [line" 14"] [id" 970901"] [rev" 3"] [msg"应用程序返回a   500级状态码"] [数据"匹配数据:500内找到   RESPONSE_STATUS:500"] [严重性"错误"] [ver" OWASP_CRS / 3.0.0"]   [成熟度" 9"] [准确度" 9"] [标签"主持人:spotmyticket.com"] [标签   " application-multi"] [tag" language-multi"] [tag" platform-multi"]   [标签"攻击信息披露"] [标签" WASCTC / WASC-13"] [标签   " OWASP_TOP_10 / A6"] [tag" PCI / 6.5.6"] [主机名" spotmyticket.com"]   [uri" /index.php"] [unique_id" VxsfjGf3YKwACih0ZhoAAABJ"]

在本地机器上一切正常

这是我的.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]

当我访问该网站时,我将出现以下错误消息

  

无法访问此网站

     

abc.com拒绝连接。 ERR_CONNECTION_REFUSED

服务器支持人员说.htaccess文件的问题。 我的.htaccess文件出了什么问题? 请帮忙:(

0 个答案:

没有答案
相关问题