Author: earle Date: 2007-11-14 17:49:35 +0000 (Wed, 14 Nov 2007) New Revision: 1124
Removed: website/.htaccess website/index.cgi Log: Furniture from old setup. Removing.
Deleted: website/.htaccess =================================================================== --- website/.htaccess 2007-09-17 21:44:15 UTC (rev 1123) +++ website/.htaccess 2007-11-14 17:49:35 UTC (rev 1124) @@ -1,10 +0,0 @@ -Options +ExecCGI -AddHandler cgi-script .cgi - -DirectoryIndex page - -<FilesMatch "^(page)$"> - SetHandler cgi-script - Options +ExecCGI -</FilesMatch> -
Deleted: website/index.cgi =================================================================== --- website/index.cgi 2007-09-17 21:44:15 UTC (rev 1123) +++ website/index.cgi 2007-11-14 17:49:35 UTC (rev 1124) @@ -1,37 +0,0 @@ -#!/usr/bin/perl - -use warnings; -use strict; - -my $url = "http://openguides.org/"; -my $env = ''; - -if ($ENV{'QUERY_STRING'}) { - $env = $ENV{'QUERY_STRING'}; - $env =~ s/page=//; - $env = 'page/' . $env; -} - -print <<HTML; -Server Response: http://openguides.org/index.cgi -Status: HTTP/1.1 301 Moved Permanently -Content-Type: text/html -Location: $url$env - -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> - <meta http-equiv="Refresh" content="0; url=$url$env"> - <meta http-equiv="Status" content="HTTP/1.1 301 Moved Permanently"> - <meta http-equiv="Location" content="$url$env"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>301 Moved Permanently</title> -</head> -<body> -<h1>301 Moved Permanently</h1> -<p> -This resource has moved to <a href="$url$env">$url$env</a>. -</p> -</body> -</html> -HTML
openguides-commits@lists.openguides.org