Re: 404 error checker

From: Date: Fri, 02 Feb 2001 05:18:24 +0000
Subject: Re: 404 error checker
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37788@lists.php.net to get a copy of this message
You may be getting emails, but for some reason, when I try the links provided as a demo: BAD LINK-- http://www.social-ecology.org/new/indexbog.html PAGE WITH BAD LINK-- http://www.social-ecology.org/indexbogus.html My browser pops up the save as dialog. I do have javascript enabled, so I don't understand it. I have been working on a similar 404 - actually just trying to modify the one at phpbuilder.com to work with my system (PHP mail() won't work because user nobody does not have permissions to execute the deliver daemon in the Cyrus Imap server). Are you seeing the page itself? I can't bring it up. Lou John Huggins wrote: > > Ah yes, this seems to stem from the fact the "ErrorDocument 404 /404.php" is > really a kind if redirect. What's weird about this is if you use it one way > (in the .htaccess) the PHP variables that appear are pre-redirect. If you > put "Errordocument 404 /404.php" into the httpd.conf the PHP variables are > post-redirect and are just as if you went straight to the 404.php page. I > am sure I am missing some kind of Apache "point-of-view," but is it working > for most of my URLs now. Some ancient CGI accesses come in now and again > and they show this problem. > > However, thanks for the idea and code. Even as just a 404 trigger, this is > very useful. The emails are starting to show just how many old URLs exist > on my servers. > > John > > > -----Original Message----- > > From: Institute for Social Ecology [mailto:ise@social-ecology.org] > > Sent: Thursday, February 01, 2001 2:32 PM > > To: John Huggins > > Cc: php-general@lists.php.net > > Subject: RE: [PHP] 404 error checker > > > > > > John, > > > > I had the same problem, but it was a matter of how I was refering the teh > > 404 file in htaccess. It is working fine for me now. An example of my > > output is below. I wish I knew more about appache and htaccess to help > > you out, but I don't. > > > > michael > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) leblanc@acadia.ne.mediaone.net http://acadia.ne.mediaone.net

« previous php.general (#37788) next »