If it’s a shared host, check the control panel for a default document setting.  
Depending on the CP implementation, it’s possible that there is some “magic” 
happening there that is performing the redirect.  It’s possible the the default 
document has been set as the templates/home.cfm document.  

If it’s redirecting without any reference in Application.cfm or a <cflocation> 
tag somewhere, then I would check the CP for the setting.  Another off-chance 
question:  Is there an .htaccess file higher up in the directory structure?  
Some servers can be configured with the .htaccess outside of the site root.  
You might also check the <VirtualHost> directive for the site, if it’s Apache, 
to see if there’s an Alias reference.

HTH,
Jon

On Nov 27, 2013, at 8:39 AM, Russ Michaels <[email protected]> wrote:

> 
> I have a site I am migrating from other host/server which is causing me a
> bit of head scratching.
> when the site loads it redirects to www.domain.com/home.cfm
> 
> the issue is that  home.cfm file does not exist in the root of the site, so
> this throws an error on my local copy.
> the only place there is a home.cfm is in a folder called "template".
> So to access this file direct you would have to go to
> domain.com/templates.home.cfm, which I can't do because it references all
> other files releative tot he root.
> 
> the confusion I am having is how it is mapping to this file from the root.
> Normally I would assume url rewriting but there is no .htaccess or
> web.config file so no where for the url rewrite rules.
> There are no mappings in use, per application or in the cfadmin.
> 
> the current site is on a shared server, so it seems very unlikely there is
> any custom configurations in JRUN, and I cannot get any such info from the
> host anyway.
> 
> Can anyone think of any other way it is mapping to this file/path ?
> 
> -- 
> 
> --
> 
> *Russ Michaels*
> Blog: www.michaels.me.uk
> *skype*: russmichaels
> 
> *My other sites/projects*
> 
> www.cfmldeveloper.com        : ColdFusion/Railo developer hosting
> www.cfsearch.com             : ColdFusion search engine
> www.cflive.net               : Live CFML console/testing tool
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357216
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to