Skip to main content
Participant
July 26, 2010
Question

The page isn't redirecting properly

  • July 26, 2010
  • 1 reply
  • 1243 views

Hello experts...

i am getting this error when i load the page :

The page isn't redirecting properly

when i use http://localhost:8301 it works fine, if i run through ip http://192.168.0.1:8301 it gives the above error.

Any idea will be of gr8 help..

Thanks in advance..

    This topic has been closed for replies.

    1 reply

    Inspiring
    July 26, 2010

    Add localhost entry in C:\WINDOWS\system32\drivers\etc (Like below) and check whether it is working fine.

    192.168.0.1    localhost

    Thanks,

    Satheesh.

    Participant
    July 27, 2010

    no it also didnt help.... please see below onRequestStart method... i used cfdump and cfabort as breakpoint and control reaches upto  <cfset handleRequest() /> and then then i see the message "page isnt redirecting properly". I am working on mach-ii framework.

    <cffunction name="onRequestStart" access="public" returntype="void" output="true"
        hint="Handles Mach-II requests. Output must be set to true. Override to provide custom functionality.">
        <cfargument name="targetPage" type="string" required="true" />   

        <!--- Handle the request. Make sure we only process Mach-II requests. --->
        <cfif findNoCase('index.cfm', listLast(arguments.targetPage, '/'))>
          <cfset handleRequest() />
        </cfif>
      </cffunction>