|
Home > Archive > AOL Webserver > October 2007 > ad_returnredirect
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Yazan Jadaa 2007-10-10, 1:11 pm |
| Hi,I have two virtual servers ,and I want to access a tcl file in both of them using ad_returnredirect:ad_returnredirect "path"ad_returnredirect "path2"The thread continues running after the file in the first path is reached,however, the file in the second path (path2) is not reached, as if the second ad_returnredirect doesn't exist!Any idea why is that happening? Is there another command that I can use that will do me the job?Thanks and Regards,
________________________________________
_________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Titi Alailima 2007-10-10, 1:11 pm |
| ad_returnredirect sends a redirect response (302) to the browser. But the browser will only get one response per request. So the second one does nothing. Do you want to just execute the second file, or do you want them to be sent to the second page after the first? For the former, you could try sourcing the file. For the latter you would need to have the first page perform the redirect (or source the first and redirect to the second in this file).
Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf OfYazan Jadaa
Sent: Wednesday, October 10, 2007 8:30 AM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: [AOLSERVER] ad_returnredirect
Hi,
I have two virtual servers ,and I want to access a tcl file in both of themusing ad_returnredirect:
ad_returnredirect "path"
ad_returnredirect "path2"
The thread continues running after the file in the first path is reached, however, the file in the second path (path2) is not reached, as if the second ad_returnredirect doesn't exist!
Any idea why is that happening? Is there another command that I can use that will do me the job?
Thanks and Regards,
________________________________
Peek-a-boo FREE Tricks & Treats for You! Get 'em!<http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us>
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Yazan Jadaa 2007-10-11, 7:11 am |
| Thanks for the prompt response, and you are right as I want to make that file run on that webserver. I tried the source thing, but I don't think I used it correctly, so can you please provide an example on how to source the file on the other webserver...Thanks in advance...
Date: Wed, 10 Oct 2007 07:01:22 -0700From: titi@MEDTOUCH.COMSubject: Re: [AOLSERVER] ad_returnredirectTo: AOLSERVER@LISTSERV.AOL.COM
ad_returnredirect sends a redirect response (302) to the browser. But the browser will only get one response per request. So the second one does nothing. Do you want to just execute the second file, or do you want them to be sent to the second page after the first? For the former, you could try sourcing the file. For the latter you would need to have the first page perform the redirect (or source the first and redirect to the second in this file).
Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf OfYazan JadaaSent: Wednesday, October 10, 2007 8:30 AMTo: AOLSERVER@LISTSERV..AOL.COMSubject: [AOLSERVER] ad_returnredirect
Hi,I have two virtual servers ,and I want to access a tcl file in both of them using ad_returnredirect:ad_returnredirect "path"ad_returnredirect "path2"The thread continues running after the file in the first path is reached,however, the file in the second path (path2) is not reached, as if the second ad_returnredirect doesn't exist!Any idea why is that happening? Is there another command that I can use that will do me the job?Thanks and Regards,
Peek-a-boo FREE Tricks & Treats for You! Get 'em!
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
________________________________________
_________________________
Boo!_Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en...=wl_hotmailnews
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Titi Alailima 2007-10-11, 1:11 pm |
| It would be easier to give you more guidance if you could flesh out your scenario a little. A couple questions:
1. Where are you running this script from? Is it from one of the virtual servers or somewhere else?
2. Do you care what URL the user ends up at?
3. Do you care what the user sees at the end?
4. By "virtual servers", do you mean nsd virtual hosts on the same AOLserver instance?
I'm guessing that actually the source command won't do it and you'll need to run ns_httpget on at least one of the pages, but which one(s) depends on the answers to the questions above.
Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf OfYazan Jadaa
Sent: Thursday, October 11, 2007 4:15 AM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] ad_returnredirect
Thanks for the prompt response, and you are right as I want to make that file run on that webserver. I tried the source thing, but I don't think I used it correctly, so can you please provide an example on how to source the file on the other webserver...
Thanks in advance...
________________________________
Date: Wed, 10 Oct 2007 07:01:22 -0700
From: titi@MEDTOUCH.COM
Subject: Re: [AOLSERVER] ad_returnredirect
To: AOLSERVER@LISTSERV.AOL.COM
ad_returnredirect sends a redirect response (302) to the browser. But the browser will only get one response per request. So the second one does nothing. Do you want to just execute the second file, or do you want them to be sent to the second page after the first? For the former, you could try sourcing the file. For the latter you would need to have the first page perform the redirect (or source the first and redirect to the second in this file).
Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf OfYazan Jadaa
Sent: Wednesday, October 10, 2007 8:30 AM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: [AOLSERVER] ad_returnredirect
Hi,
I have two virtual servers ,and I want to access a tcl file in both of themusing ad_returnredirect:
ad_returnredirect "path"
ad_returnredirect "path2"
The thread continues running after the file in the first path is reached, however, the file in the second path (path2) is not reached, as if the second ad_returnredirect doesn't exist!
Any idea why is that happening? Is there another command that I can use that will do me the job?
Thanks and Regards,
________________________________
Peek-a-boo FREE Tricks & Treats for You! Get 'em!<http://www.reallivemoms.com/?ocid=TXT_TAGHM&loc=us>
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try now!<http://onecare.live.com/standard/en...=wl_hotmailnews>
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
|
|
|
|
|