[TYPO3] realurl: URL works, but 503 is reported
Heiner Lamprecht
heiner at heiner-lamprecht.net
Wed Aug 30 13:31:42 CEST 2006
On Tuesday 29 August 2006 19:08, Dmitry Dulepov wrote:
>
> Heiner Lamprecht wrote:
> > The problem is somehow strange. The content of the page is
> > always delivered. So no problem on this side. I also noticed,
> > that the 503 code is not sent for every pagerequest with such
> > an URL, only most of them. According to the logfile, I have
> > for one URL 405 requests, 310 got a "503", 95 got a "200"
> > return code. The filesize is the same.
>
> Hold on, it can be a error in typo3 4.0. It sends 503 for
> non-cached pages sometimes.
Okay, good to know. I hope, it's not the fact for URL which contain
parameters.
> > I found only one source file, where the 503 header is created:
> > class.tslib_fe.php, in the function
> > addTempContentHttpHeaders(). And this function is called, when
> > T3 thinks the content is only temporary. How can I tell T3,
> > that these pages are not temporary?
>
> It is temporary until it is not in cache. Make sure your pages
> are cached.
Ah, thank you. Caching was the keyword! Now it works.
Heiner
--
heiner at heiner-lamprecht dot net GnuPG - Key: 9859E373
Fingerprint: 3770 7947 F917 94EF 8717 BADB 0139 7554 9859 E373
More information about the TYPO3-english
mailing list