back up one directory using ../ or ../../ takes you back two directories etc.
On Fri, May 22, 2009 at 9:48 AM, Pranathi Reddy <[email protected]>wrote: > > Hi , > > I am trying to move back one directory and redirect the page to another > page. > eg: I am at page > http:/localhost/Extradirectory/newfile.cfm and I want to redirect to the > index.cfm at http:/localhost/newfile.cfm if condition satisfies. > > I am using cflocation to direct to another page but I am at path > /inetpub/project1/Extradirectory/newfile.cfm and my .cfm file is in path > /inetpub/project1/index.cfm > > <cfif name ='David'> > <cflocation url="index.cfm> > </cfif> -- it throws an error says file not found. > > Can any one have any suggestions fro me. > > Thanks in Advance, > Pranathi. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

