Project

General

Profile

Actions

Task #38640

closed

Wrong 'redirect to' in sys_domain record hangs PHP-task

Added by Franz Geiger over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-07-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
medium
Sprint Focus:

Description

Hi,

if one creates a domain record with wrong 'redirect to' parameters and tries to load that domain, the php task hangs and the server gets unusable.

Here is what I did:
  • I'm on a shared host with PHP 5.3 running as a fastCGI task.
  • TYPO3 4.7.1 is installed.
  • Both domains foo.com and bar.com point to my installation of TYPO3.
  • Go to list view in the TYPO3 backend and create a new domain record (foo.com).
  • create a second domain record (bar.com) and tick the option to redirect it with a 301-header to "foo.com" (obviously "http://foo.com" would be correct) on the same page.

When I enter bar.com in my browser, the server shows me a 503 error and I get several php53.fcgi tasks running and blocking all other PHP-scripts.

Obviously TYPO3 cannot correct my very own mistake. But it would be beautiful, if it could handle that error more gracefully and not block all PHP tasks.

Best,
Franz


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #83638: Remove sys_domain redirect functionalityClosedBenni Mack2018-01-22

Actions
Actions

Also available in: Atom PDF