Use of CGI Script as Home Page (Redirect to CGI-BIN)

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


Joined: 03 Jun 2003
Posts: 71
Location: Chattanooga, TN USA

PostPosted: Wed Jan 21, 2004 5:11 pm    Post subject: Use of CGI Script as Home Page (Redirect to CGI-BIN) Reply with quote

Abyss Version: 1.2.2.2 for Linux

My goal is to automatically and seamlessly redirect a website visit to a CGI (PERL) script (Web-App) which dynamically generates a "home page." The Web-App script generates a "portal" type environment in which all pages are generated on-the-fly.

This PERL script is located in the cgi-bin directory and works very well if called directly through a URL link....www.domainname.com/cgi-bin/index.cgi. I do not want to locate the index.cgi in the HTDOCS directory since that would require a complete configuration change to the script's "standard location" variables...so index.cgi needs to stay in the cgi-bin directory.

I thought I read that Abyss itself would do this without using a separate script. Is this possible? I have installed the Web-App script on a commercial web server which has a simple redirect function so when someone visits the website it points them to the cgi-bin/index.cgi script rather than HTDOCS/index.html. So with that said, how do we get to:

www.domainname.com ===> www.domainname.com/cgi-bin/index.cgi ??

I have not had any success with the "redirect" scripts (PHP / PERL) that have been discussed on this forum. Thanks.
Back to top View user's profile Send private message Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Wed Jan 21, 2004 6:18 pm    Post subject: Reply with quote

Make a simple index.html that includes an instant meta-refresh redirecting to the CGI bin...

http://www.pageresource.com/html/metref.htm
Back to top View user's profile Send private message
gsownsby
-


Joined: 03 Jun 2003
Posts: 71
Location: Chattanooga, TN USA

PostPosted: Wed Jan 21, 2004 8:26 pm    Post subject: Use of CGI Script as Home Page (Redirect to CGI-BIN) Reply with quote

Anonymoose,

Thank you for your help. It worked. I set the delay parameter to zero and it instantly redirected. Some times one can't see the forest for the trees. Simple solution.

Did anyone read or hear that Abyss would do this in some way?

Thanks again!!
Back to top View user's profile Send private message Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Jan 22, 2004 12:09 am    Post subject: Reply with quote

This is a standard HTML feature - I haven't seen anything about Abyss being able to do an auto-redirect...
Back to top View user's profile Send private message
TRUSTAbyss
-


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

PostPosted: Thu Jan 22, 2004 9:24 am    Post subject: Reply with quote

You can try out my Multiple Site script version that I created
to help users fill out the right code areas lol

http://www.multiple-sites.tk

use /cgi-bin and it will forward correctly

(Original script by: BlueDog)
Back to top View user's profile Send private message Visit poster's website
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