in case anyone is wondering... I fixed the problem (it appears) by using header("HTTP/1.0 200 OK");
in case anyone else runs across this problem. Just setting header(Status: 200 OK"); wasnt enough it appears... ----- Original Message ----- From: "Ben Turner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2002 2:19 PM Subject: Re: [PHP] changing the http status from file not found to.... > Ok I have tried sending headers to the browser specifying the page but I am > still not having any luck. If anyone has any experiance with tricking the > web browser and more importantly the search crawlers into thinking that a > 404 error page is an actual web page then please let me know how to > accomplish this. > > At this point it is looking like I will be creating simple php pages > including the 404 script to pull the page from the database. This is going > to be very messy as a page must be created for every entry into the > database... > > Thanks! > Ben > > ----- Original Message ----- > From: "Ben Turner" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 26, 2002 10:03 AM > Subject: Re: [PHP] changing the http status from file not found to.... > > > > I guess if anyone knows of a place, is there a source on the web that > > details the headers sent to the page for valid pages??? > > > > I checked php.net and nothing was there on the subject > > > > ----- Original Message ----- > > From: "Ben Turner" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, February 26, 2002 9:52 AM > > Subject: [PHP] changing the http status from file not found to.... > > > > > > I have a php site that I am working on and I am using a 404 page to > display > > db contents. It works great in a web browser but it is still returning > > "HTTP_STATUS_NOT_FOUND" to a crawler when it crawls the site. Does anyone > > know if this can be changed from within the php to trick the crawler int o > > thinking that it is an actual page?? > > > > Or maybe its an Apache setting to fiddle with you think?? > > > > Any help would be appreciated.... Thanks! > > Ben > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php