Wrong errorcode 404, should be 302, when downloading from our mirror.
| From: | Fredrik Ohrn | Date: | Fri, 13 Jun 2003 12:38:33 +0000 |
| Subject: | Wrong errorcode 404, should be 302, when downloading from our mirror. | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18684@lists.php.net to get a copy of this message | ||
Hello!
Since our trusty old use-for-anything server died permanently a couple of
days ago I moved our php mirror to a new box.
The new box runs Apache 2.0.46 and PHP 4.3.2
Everything went fine except that the downloads stopped working.
When requesting the url
http://se.php.net/get/php-4.3.2.tar.gz/from/this/mirror
the server returns a 404 status code instead of 302 as expected when
header ("Location: ...") is called in do-download.inc.
This causes Mozilla to display a blank page, and IE to throw up one of
those homebrew 404 messages.
I've tried adding an extra header ('HTTP/1.1 302 Found', 1, 302) line but
it didn't help.
Does anyone have a clue on what went wrong?
Regards,
Fredrik
--
It's down there somewhere, let me take another look.
- The Dude
Fredrik Öhrn Chalmers University of Technology
ohrn@chl.chalmers.se Sweden