Hello Ben, Thanks for the reply. I was using cfbasis as my framework, but I have the same error on another app that does not use a framework at all.
On May 28, 1:52 pm, Benjamin Davis <[email protected]> wrote: > Hi Aaron, > > I tried this out since I have a "similar" environment. I don't have a > rewrite rule in place so that is one of the differences for sure. The only > thing that I could find was that you have to have http:// in front of > google.com. I tried the url as just google.com andwww.google.comand > those didn't work. I was getting a 404 error from IIS as the browser was > trying to > findhttp://mysite.local/google.comorhttp://mysite.local/www.google.com. If I > understand CFLOCATION, it just > sends to the browser the redirect command so the browser is the one doing > the work. Are you using a framework or anything like that? Maybe it is > getting in the way somewhere. I would suggest you try just a plain old > vanila site without any framework or anything and try the redirects the > same and see what you come up with. > > Ben > > On Sun, May 27, 2012 at 2:00 PM, Aaron J. White <[email protected]> wrote: > > > > > > > > > Hey guys, > > > Ran into a weird issue today. Apparently on my server I cannot use > > cflocation or any cfml server side method to redirect to a different > > host. Redirecting to pages within the same application work fine, but > > redirecting to google.com or any other external site does not. > > Chrome and Firefox tell me my pages have a redirect loop. I checked > > and it occurs in every app on my server. Can anyone think of possible > > resolutions off the top of their head? > > > I am running a windows server with IIS & Tomcat using port 8080. All > > sites use the same instance of openbd. IIS just rewrites urls to port > > 8080 for tomcat. > > I think the issue has something to do with my rewrite rules. > > > The one I am questioning is: > > Using: regular expression > > Pattern: (.*) > > Action Type: Rewrite > > Rewrite UR:http://mysite.local:8080/{R:1} > > > Any ideas? > > > -- > > online documentation:http://openbd.org/manual/ > > http://groups.google.com/group/openbd?hl=en -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
