Actually, I'm getting a "302" at my end (on Blackstone). That said, 
shouldn't really matter what version I am running, it *should* just be 
reporting what the web server at the other end is telling it.

Tried in on MX, and I get the same result.

"302 Moved Temporarily "

Darryl
http://dangermoose.blogspot.com

[EMAIL PROTECTED] wrote on 06/05/2005 03:15:54 PM:

> I know I asked this question awhile ago, but I am still trying ti 
> find a solution as to why Coldfusion is not doing this right.
> 
> With all the help I got I ended up using Spike's routine to check a 
> url, but the problem is that with a redirection using coldfusion it 
> still errors with the incorrect method.
> 
> http://www.choicecakes.com.au is redirected to pages/default.cfm?
> page_id=12762 and cfhttp spits the dummy with this and I need to 
> know why, or at least find a solution as to why this is happening. 
> Coldfsion is throwing the 503 response code on this when it shouldn't 
be...
> 
> Anyone know why or know how I can get around this.
> 
> The routine is here
> 
> <cffunction name="checkURL">
> <cfargument name="myURL" type="string" required="true" />
> <cfhttp url="#myUrl#" redirect="false" />
> <cfset var sc = left(cfhttp.ResponseHeader.status_code,1)>
> <cfif sc eq 3>
> <cfif cfhttp.ResponseHeader.location EQ myURL>
> <cfthrow type="checkurl.error" message="Infinite redirect"/>
> </cfif>
> <cfset checkURL(cfhttp.responseheader.location) />
> <cfelseif sc EQ 5>
> <cfthrow type="checkurl.error" message="Internal server error">
> <cfelseif sc EQ 4 >
> <cfthrow type="checkurl.error" message="Not found">
> </cfif>
> </cffunction>
> <cftry>
> <cfset checkURL("http://www.ikea.com.au/";) />
> <cfoutput>That URL is Fine</cfoutput>
> <cfcatch>
> <cfoutput>That URL has something wrong with it: 
#cfcatch.message#</cfoutput>
> </cfcatch>
> </cftry>
> 
> Regards
> Andrew Scott
> Technical Consultant
> 
> NuSphere Pty Ltd
> Level 2/33 Bank Street
> South Melbourne, Victoria, 3205
> 
> Phone: 03 9686 0485  -  Fax: 03 9699 7976 
> ---
> You are currently subscribed to cfaussie as: 
[EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> daemon.com.au Aussie Macromedia Developers: http://lists.daemon.com.au/ 


To unsubscribe from this email please forward this email to [EMAIL PROTECTED] 

This email message is confidential and may be privileged. Unauthorised use, 
copying or distribution of any part of this email
including attachments is prohibited.  If you are not the intended recipient 
please forward the email to [EMAIL PROTECTED]
and delete the original. 

ABN AMRO Morgans Limited and its associates hold or may hold securities in the 
companies/trusts mentioned herein.  Any general
advice included in this email has been prepared without taking into account 
your objectives, financial situation or needs.  Before
acting on the advice, you should consider its appropriateness or discuss with 
one of our investment advisors.

To the extent permitted by law we exclude (and where the law does not permit an 
exclusion, limit to the extent permitted by law) all
liability for any direct, indirect and consequential costs, losses, damages and 
expenses incurred in any way (including but not limited
to that arising from negligence), connected with any use or access to this 
email or any reliance on information contained in this email
or any attachments.

ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX 
Group  A Principal Member of the
Financial Planning Association


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to