Redirecting using a CGI file?

Soldato
Joined
9 Nov 2003
Posts
9,515
Location
The Motor City
I have a working knowledge of CSS and HTML stuff, but never worked with CGI before. I have a dead database right now (thank you very much, SQL vulnerability), and I'd like to redirect hits to a webpage with a .cgi extension to another page until I get the DB sorted out.

In HTML, I would do it like this:

Code:
<html>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.facebook.com/#!/pages/MTA-Motorcycle-Touring-Association">
</html>
and name it index.htm

Currently all my links all over my site point to \board.cgi. Can I rename this file temporarily and put some code in it to have it route to FB? Does a browser even care what extension is used, as long as the page identifies itself within the file?
 
Back
Top Bottom