PDA

View Full Version : Turning .cgi into a redirect file


rareexc
03-10-2004, 08:53 PM
I have hundreds of links to this URL
http://www.rareexception.com/Garden/cgi/Ultimate.cgi

How do I change/create a file there that redirects users to a page of my choosing
Something with this on the webpage?
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.rareexception.com/Garden/Garden.asp">

I tried to create an html file called Ultimate.cgi with the redirect but no matter how I set the permissions, it says the user is: Forbidden
You don't have permission to access /Garden/cgi/Ultimate.cgi on this server.

Thanks!

Paul

jeremyalyea
03-10-2004, 09:26 PM
Have you tried using the redirects option in your control panel? Or you can edit the .htaccess yourself.

Viper007Bond
03-10-2004, 09:54 PM
Put this in a .htaccess file in your "Garden" folder:

Redirect /cgi/Ultimate.cgi http://www.where-you-want-to-go.com/
or this in a .htaccess file in your public_html folder:

Redirect /Garden/cgi/Ultimate.cgi http://www.where-you-want-to-go.com/

rareexc
03-11-2004, 05:35 PM
Worked like a charm
Thanks!

Closed.