Re: Re: cvs: pearweb /public_html/error 404-manual.php
| From: | Christian Weiske | Date: | Tue, 14 Apr 2009 05:40:08 +0000 |
| Subject: | Re: Re: cvs: pearweb /public_html/error 404-manual.php | ||
| References: | 1 2 3 | Groups: | php.pear.cvs php.pear.core |
| Request: | Send a blank email to pear-core+get-8340@lists.php.net to get a copy of this message | ||
Hi Helgo, Brett,
> >> Modified files:
> >> /pearweb/public_html/error 404-manual.php
> >> Log:
> >> Redirect to english manual file if that exists
> > Pretty sure 301 is not the proper response in this case, what if the
> > file exists at a later time ? You just told the client it has been
> > moved permanently :-) There must be a better HTTP header for this.
>
> Hmm, would 307 Temporary Redirect be appropriate here? After digging
> into rfc 2616, it sounds like that might be appropriate for this
> instance.
I am correct here. The fix is for files that are expected in
manual/file.php instead of manual/$lang/file.php. Since we don't
support language-less documentation anymore, a permanent redirect is ok
here.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc