http://www.texassheepdogassoc.org
On a mobile device, if you take off the www. you get the error, with
it pulls up fine. However in IE9 and Safari on a desktop/Mac, it only
pulls up without the www. (http://www.texassheepdogassoc.org will not
display)
I assume this may have something to do with URLRewriting?
web.config:
<?xml version="1.0" encoding="UTF-8"?>
<!-- this file can be deleted if you're not planning on using URL
rewriting with IIS 7. -->
<!-- you can add your own files and folders that should be excluded
from URL rewriting by adding them to the "pattern" below. -->
<!-- please read the online documentation on http://cfwheels.org for
more information about URL rewriting. -->
<!-- SET ENABLED TO TRUE BELOW TO TURN ON THE URL REWRITING RULES -->
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ColdFusion on Wheels URL Rewriting" enabled="true">
<match url="^(.*)$" ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{SCRIPT_NAME}" negate="true"
pattern="^/(flex2gateway|jrunscripts|cfide|cfformgateway|railo-context|files|images|javascripts|miscellaneous|stylesheets|robots.txt|sitemap.xml|rewrite.cfm)($|/.*$)"
/>
</conditions>
<action type="Rewrite" url="/rewrite.cfm/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
here is the error:
Could not find the included template ../../root.cfm.
Note: If you wish to use an absolute template path (for example,
template="/mypath/index.cfm") with CFINCLUDE, you must create a
mapping for the path using the ColdFusion Administrator. Or, you can
use per-application settings to specify mappings specific to this
application by specifying a mappings struct to THIS.mappings in
Application.cfc.
Using relative paths (for example, template="index.cfm" or
template="../index.cfm") does not require the creation of any special
mappings. It is therefore recommended that you use relative paths with
CFINCLUDE whenever possible.
The error occurred in internal.cfm: line 433
Called from internal.cfm: line 542
Called from cfml.cfm: line 174
Called from cfml.cfm: line 27
Called from public.cfm: line 127
Called from request.cfm: line 163
Called from D:/home/texassheepdogassoc.org/wwwroot/wheels/index.cfm: line 1
Called from D:/home/texassheepdogassoc.org/wwwroot/rewrite.cfm: line 1
Called from D:/home/texassheepdogassoc.org/wwwroot/wheels/events/onrequest.cfm:
line 1
rm
<rule name="Redirect domain.com to www" patternSyntax="Wildcard"
stopProcessing="true">
<match url="*" />
<conditions>
<add input="{HTTP_HOST}" pattern="texassheepdogassoc.org" />
</conditions>
<action type="Redirect" url="http://www.texassheepdogassoc.org/{R:0}" />
</rule>
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
Could not find the included template ../../root.cfm.
Any thoughts on what this could be? I'm on 1.1.6. Should I update to .7?
Thanks!
Richard