Solved

Redirecting URL to a CGI script instead of an HTML page?

Posted on 1997-06-24
1
158 Views
Last Modified: 2013-12-25
I would like to redirect my URL (say www.me.com) to execute a perl script that will preform some checks BEFORE loading my home page.  I would like to know if it is possible to redirect to a CGI program?  I am running Windows NT with a Netscape Fastrack server.

Any suggestions would be helpful,
Mike
0
Comment
Question by:ferreimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Voodoo earned 100 total points
ID: 1828534
There should be at least two ways you can do this. The first (easy, but a few drawbacks) involves creating a HTML index page which simply refreshes the browser to the CGI url:

<HTML><META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.yourco.co.uk/">
<HEAD><TITLE></TITLE></HEAD>
<BODY><A HREF="http://www.yourco.co.uk/">Proceed</A></BODY></HTML>

The problem is that very old browsers may not recognise the refresh, hence the href link. This may or may not be a problem depending on the demographics of the kind of person who will visit your site.

The other way is to change the default home page (via the server) to point to your cgi-bin script and directory. I know this is possible in free web servers such as Omni HTTPd and Sambar, but I am afraid I have no direct experience with Fastrack.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question