location redirect doesnt work with abyss?

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
derek
-


Joined: 10 Oct 2003
Posts: 14

PostPosted: Mon Dec 29, 2003 1:29 am    Post subject: location redirect doesnt work with abyss? Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Dec 29, 2003 1:40 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
derek
-


Joined: 10 Oct 2003
Posts: 14

PostPosted: Mon Dec 29, 2003 2:39 am    Post subject: Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Dec 29, 2003 10:57 pm    Post subject: Reply with quote

Sorry , Im not sure if it supports redirect headers but
im pretty sure it probably does.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 30, 2003 1:31 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group