View previous topic :: View next topic |
Author |
Message |
derek -
Joined: 10 Oct 2003 Posts: 14
|
Posted: Mon Dec 29, 2003 1:29 am Post subject: location redirect doesnt work with abyss? |
|
|
I am trying to print a redirect header but all it does is print it in text. does abyss not support redirects?
Thanks |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Dec 29, 2003 1:40 am Post subject: |
|
|
You can do a redirection in a html file
by adding
Code: | <META HTTP-EQUIV="refresh" CONTENT="3; URL=http://www.redirected.com/page.html"> |
3 is the seconds before you get redirected , you can put it at 0
URL is the address to the redirected page |
|
Back to top |
|
|
derek -
Joined: 10 Oct 2003 Posts: 14
|
Posted: Mon Dec 29, 2003 2:39 am Post subject: |
|
|
i am using CGI. I know how to use meta tags but this is not practical considering what I am doing. My question was concerning abyss and whether or not it supports redirect headers. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Dec 29, 2003 10:57 pm Post subject: |
|
|
Sorry , Im not sure if it supports redirect headers but
im pretty sure it probably does. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Dec 30, 2003 1:31 pm Post subject: |
|
|
derek,
It seems that your CGI script is wrong. If you see the CGI Location header in the page, this means that you have already sent the CGI headers.
Try this Perl example:
Code: |
print "Location: /this/is/where/you/must/go.html\n\n"
|
It will redirect you to /this/is/where/you/must/go.html . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|