douningqiu4991 2015-05-05 10:37 采纳率: 0%
浏览 147

管理区域错误ERR_TOO_MANY_REDIRECTS(chrome)

I've been handed the management of a site where there is an admin area of its eccommerce and I am getting ERR_TOO_MANY_REDIRECTS error when I try to navigate around certain areas of it. I've searched around and am thinking it could be a htaccess issue. Can anyone help? I can tell you that the 404.php file does not exist in the root folder and that the php settings in there are being overruled by a php.ini file so far as I am aware.

Any help would be gratefully received.

SetEnv DEFAULT_PHP_VERSION 54
ErrorDocument 404 /404.php

RewriteEngine on
RewriteBase /
RewriteOptions Inherit
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule  (.*) index.php?apache_path=$1 [L,QSA]

DirectoryIndex index.html index.htm index.php

# Don't allow browsing of directories
Options -Indexes

# PHP settings
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag register_globals off
php_flag register_long_arrays on
php_value max_execution_time "300"
php_value post_max_size "40M"
php_value upload_max_filesize "100M"
php_value memory_limit "100M"

AddType application/rss+xml .rss

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"

Update:

The response in from the network tab happens like over 90 times is the following:

Remote Address:***.**.**.**:80
Request URL:http://www.mysite.co.uk/adminOrder.edit/0/current_id/
Request Method:GET
Status Code:302 Moved Temporarily
Response Headers
view source
Cache-Control:no-cache, must-revalidate
Content-Length:0
Content-Type:text/html
Date:Tue, 05 May 2015 13:05:07 GMT
Location:http://www.mysite.co.uk/adminOrder.edit/0/current_id/
Server:Apache/2.4.10 (Unix)
X-Hostname:cweb2-c2339
X-Powered-By:PHP/5.4.36
Request Headers
view source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 js调用html页面需要隐藏某个按钮
    • ¥15 ads仿真结果在圆图上是怎么读数的
    • ¥20 Cotex M3的调试和程序执行方式是什么样的?
    • ¥15 一道python难题3
    • ¥15 牛顿斯科特系数表表示
    • ¥15 arduino 步进电机
    • ¥20 程序进入HardFault_Handler
    • ¥15 oracle集群安装出bug
    • ¥15 关于#python#的问题:自动化测试
    • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题