Re: Seemingly simple header problem, isn't!
| From: | @ Edwin | Date: | Wed, 14 Aug 2002 06:22:02 +0000 |
| Subject: | Re: Seemingly simple header problem, isn't! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112491@lists.php.net to get a copy of this message | ||
Hi there,
Try running <?php phpinfo(); ?> and I'm sure you'll find out something about the Apache version. (If, indeed, you're running Apache... Could it be that you're running IIS and Apache is down? Of course, I could be wrong...)
- E
Hi, I'm running the simplest possible script to test headers: <?php header("Location: http://www.yahoo.com/");_________________________________________________________________ キャリアアップを目指すあなたのナビゲーター MSN 就職・転職 http://career.msn.co.jp/exit;?> The redirect works fine when I run the script on my FreeBSD server, but when I run it on my Windows server, it fails. (The Windows Apache server is at least Apache 1.3, but I don't know the exact version, and am not sure how to find it on Windows). In Netscape 6, the failure manifests itself with a blank page and an empty session file. In IE 6, a "This Page Cannot Be Displayed (HTTP 500 - Internal server error)" page shows in the browser, and an empty session file appears in the temp directory as well. The Apache error log shows nothing. Is there something that has to be set in the httpd.conf file for the header function to work properly? If anyone has any ideas, I'd appreciate hearing them... I'm stuck. Thanks, Robert Orenstein Perforce Software -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php