Issue Task Closed

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

Franz Geiger 07/04/12, 13:26 updated 09/23/18, 10:53

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.