管理区域错误ERR_TOO_MANY_REDIRECTS(chrome)

时间:2015-05-05 10:37:58

标签: php .htaccess

我已经管理了一个网站,其中有一个管理区域的电子商务,当我尝试浏览它的某些区域时,我收到了ERR_TOO_MANY_REDIRECTS错误。我四处搜索,我认为这可能是一个htaccess问题。有人可以帮忙吗?我可以告诉你,404.php文件在根文件夹中不存在,并且据我所知,php.ini文件中的php设置被覆盖了。

感谢任何帮助。

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"

更新

来自网络标签的响应发生超过90次如下:

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 个答案:

没有答案
相关问题