Solved

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

Posted on 1997-06-24
1
164 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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…

751 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