Hi All -
I am using the following code to redirect a page
cfif cgi.http_host EQ abc.com
cfif cgi.http_url EQ /test/folder1
cflocation statuscode=301 addtoken=false
url=http://abc.com/test/folder2;
/cfif
/cfif
The second if statement does not work. if I do the redirect just
Hi All -
I am using the following code to redirect a page
cfif cgi.http_host EQ abc.com
cfif cgi.http_url EQ /test/folder1
cflocation statuscode=301 addtoken=false
url=http://abc.com/test/folder2;
/cfif
/cfif
The second if statement does not work. if I do the redirect just
So when you output cgi.http_url, what do you see?
On Thu, Nov 15, 2012 at 11:31 AM, fun and learning
funandlrnn...@gmail.comwrote:
Hi All -
I am using the following code to redirect a page
cfif cgi.http_host EQ abc.com
cfif cgi.http_url EQ /test/folder1
cflocation
I see /test/folder1
On Thu, Nov 15, 2012 at 11:32 AM, Raymond Camden raymondcam...@gmail.comwrote:
So when you output cgi.http_url, what do you see?
On Thu, Nov 15, 2012 at 11:31 AM, fun and learning
funandlrnn...@gmail.comwrote:
Hi All -
I am using the following code to
And if you output some text before the cflocation, does it work?
On Thu, Nov 15, 2012 at 11:34 AM, funand learning
funandlrnn...@gmail.comwrote:
I see /test/folder1
On Thu, Nov 15, 2012 at 11:32 AM, Raymond Camden raymondcam...@gmail.com
wrote:
So when you output cgi.http_url, what
Your problem is the cgi vars. Test it without the if statements and see if it
works. If it does, it's you cgi var statements that need some work.
Robert Harrison
Director of Interactive Services
Austin Williams
Advertising I Branding I Digital I Direct
125 Kennedy Drive, Suite 100 I
I put this code in application.cfm, but when I put it in some other common
include file it works. How to make this work in application.cfm file?
On Thu, Nov 15, 2012 at 11:42 AM, Robert Harrison
rob...@austin-williams.com wrote:
Your problem is the cgi vars. Test it without the if statements
We just migrated to a new server running CF 5 on Win 2000. Now
cflocation is not working, and I'm a dummy about server admin.
Anyone ever encounter this?
TIA,
Doug JOrdon
~~
Structure your ColdFusion code with Fusebox. Get the official book
-
From: Douglas Jordon [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 12:20 PM
To: CF-Talk
Subject: cflocation not working
We just migrated to a new server running CF 5 on Win 2000.
Now cflocation is not working, and I'm a dummy about server admin.
Anyone ever encounter
Thanks.
It works when I create a file like that with either an absolute or
relative url, but the original page that processes a form will not work.
I had thought it was a separate issues, but besides the cflocation the
queries before aren't executing although they are being passed the
correct
I have a cflocation tag in my application.cfm file so that if a user tries
to access a certain page by clicking on that pages link and that user is not
logged in to the website then the application page sends the user back to
the home page or login screen.
problem being that the link the user
11 matches
Mail list logo