[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Specific CGI Redirect Question
- Subject: Re: [cobalt-users] Specific CGI Redirect Question
- From: Paul Schreiber <cheesefactory@xxxxxxxxx>
- Date: Sat Apr 15 11:20:02 2000
--- "Casselman, Chad" <chad.casselman@xxxxxxxxxxxxxxxxx> wrote:
> Here is the scenario. I have a cgi script that I sale and I give away 2
> week long free demos. After two weeks the directory and the script for
> that user is deleted. The problem is that they still have calls on there
page
> to the script for several days after that. Is there anyway to specify that
> when a request for xyz.cgi comes in and it doesn't exist to execute
> abc.cgi.
In the .htaccess file (or http.conf :) put something like this:
RedirectMatch /cgi-bin/xyz.cgi(.*) /cgi-bin/abc.cgi$1
Paul
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com