[TYPO3-english] 302 redirect when invoking file browser

Graham Knight graham.knight5 at gmail.com
Thu Oct 15 10:46:26 CEST 2015


Hi,

On one system I manage I have the following problem (TYPO3 6.2.13, PHP5.6.13 ):

When editing a Text+Images CE I select the Images tab and click "Add Image". A new window pops up but, after a pause, the website home page appears in it instead of the file browser.

I have looked at a packet trace and I see:

GET /typo3/browser.php?mode=file&bparams=|||gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai|data-5-tt_content-93-image-sys_file_reference|inline.checkUniqueElement||inline.importElement HTTP/1.1\r\n

With response:

HTTP/1.1 302 Found\r\n and Location http://{domain name of the website}/\r\n

Unfortunately I have no clue as to where this redirect comes from.

I cannot see anything relevant in TYPO3 logs. Unfortunately I do not have access to the Apache error log. I have a .htaccess file in my document root (see below). I have tried clearing caches but with no result.

I used to see this problem intermittently in the past but it is now persistent.

Has anyone seen something similar or can suggest a debugging strategy?

Many thanks.

Graham

.htaccess

AuthName "www"
AuthUserFile "/home/hert3292/.htpasswds/public_html/passwd"

RewriteEngine On

# Rules to redirect to maintenance page as long as maintenance.html exists
# and remote address does not match
RewriteCond %{REMOTE_ADDR} !^109\.148\.84\.119
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
RewriteRule ^.*$ /maintenance.html [R=302,L]

RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
RewriteCond %{HTTP_HOST} ^www\.hertscyclerides\.org\.uk$
RewriteRule ^favicon\.ico$ "http\:\/\/www\.hertscyclerides\.org\.uk\/fileadmin\/hertscyclerides\/webAssets\/favicon\.ico" [R=301,L]



More information about the TYPO3-english mailing list