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 and www.google.com and those didn't work. I was getting a 404 error from IIS as the browser was trying to find http://mysite.local/google.com or http://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
