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