Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP status codes returned by PEAR::HTTP_REQUEST

Status
Not open for further replies.

pgosse

Programmer
Sep 26, 2001
42
CA
Hi folks. In switching our site from static html to static html driven by a CMS, I've written a script that trolls our entire site, parses out all links, images, script includes, stylesheets, etc., and uses Pear's HTTP_REQUEST package to make sure the file/document exists.

However, for some pages which I know for a fact exist, it's returning a status code of 301, which is "Moved Permanently".

Does anyone have any idea why this might be happening?

Cheers and TIA,

Pablo
 
possibly in switching your site over you have shifted the files?
I'd start by checking that the files are actually where you think they should be on the server.

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top