Re: [PHP] 404 error checker

2001-02-01 Thread Louis LeBlanc
t; John > > > -Original Message- > > From: Institute for Social Ecology [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 01, 2001 2:32 PM > > To: John Huggins > > Cc: [EMAIL PROTECTED] > > Subject: RE: [PHP] 404 error checker > > > > &g

RE: [PHP] 404 error checker

2001-02-01 Thread John Huggins
After some experimenting I find this 404.php program only shows the original missing file when the .htaccess file has the "ErrorDocument 404 /404.php" phrase. One might assume that putting this directly into the httpd.conf file of the Apache server would perform the same thing. Indeed, the value

RE: [PHP] 404 error checker

2001-02-01 Thread John Huggins
ary 01, 2001 2:32 PM > To: John Huggins > Cc: [EMAIL PROTECTED] > 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

RE: [PHP] 404 error checker

2001-02-01 Thread Institute for Social Ecology
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 WEBSITE-- www.social-ecology.org BAD LI

RE: [PHP] 404 error checker

2001-02-01 Thread Institute for Social Ecology
Jason, Thanks for the pointer. Worked like a charm, well almost. I had to tweak my .htaccess file as it was messing up some global variables cause i was using absolute URLS to point to my error script. Someone else ask to see the script. You can check it at: http://www.social-ecology.org/4

RE: [PHP] 404 error checker

2001-01-31 Thread Jason Murray
> I am writing a script that will send me an email every time a 404 > error is returned for an http request. So far I have the script > working so that it will email me and inform me of the URL of the > page that has the offending link by using the HTTP_REFERER environment > variable. I woul

[PHP] 404 error checker

2001-01-31 Thread Institute for Social Ecology
Hi, Im rather a novice at PHP, so I appologize if this question is rather basic. Also, to be sure, I have looked through the PHP site and archives for answers to this question with no luck. Sorry if it is repetative. I am writing a script that will send me an email every time a 404 error is r