Re: Apache specific problem..
| From: | Daniel Lorch | Date: | Wed, 30 Jan 2002 17:39:37 +0000 |
| Subject: | Re: Apache specific problem.. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78574@lists.php.net to get a copy of this message | ||
Hi,
> just a question.
> Its possible to produce any Apache error?
> [..]
> dl_manager.php?filename=test1.zip
> [..]
if(file_exists($filename)) {
[..]
}
else {
Header("HTTP/1.0 404 Not Found");
?><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL <?php echo $filename; ?> was not found on this server.<P>
</BODY></HTML>
<?php
}
It's not actually called an "apache error", it's actually an HTTP Response
code. Check the RFC for further information.
By the way, you're on the wrong list :) There's a "PHP General" list for
questions like this.
Kind Regards,
Daniel Lorch