[!!!][FEATURE] Remove typo3/index.html (and more)
authorMichael Stucki <michael.stucki@typo3.org>
Sun, 6 Nov 2011 12:42:44 +0000 (13:42 +0100)
committerGeorg Ringer <mail@ringerge.org>
Mon, 7 Nov 2011 09:54:02 +0000 (10:54 +0100)
Remove typo3/index.html which does nothing else than redirecting to
index.php.
It uses a meta redirection, which has been deprecated by the W3C:
http://www.w3.org/TR/WCAG10-HTML-TECHS/#meta-element

If this change will break your setup, make sure to change the
"DirectoryIndex" setting of your Apache webserver so it looks for files
named index.php: DirectoryIndex index.php

The patch will also remove other files with a similar functionality:
- typo3/index.htm
- typo3/index.html
- typo3/install/index.htm
- typo3/install/index.html

It will NOT remove index.html in t3lib/ and some other places, where the
redirect is rather used as a security feature to avoid directory
listings on poorly configured servers...

Change-Id: I0097c62213cde9cec056e4a6b864cba9f2e828f6
Resolves: #31614
Reviewed-on: http://review.typo3.org/6561
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Reviewed-by: John Galt
Tested-by: John Galt
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/index.htm [deleted file]
typo3/index.html [deleted file]
typo3/install/index.htm [deleted file]
typo3/install/index.html [deleted file]

diff --git a/typo3/index.htm b/typo3/index.htm
deleted file mode 100644 (file)
index b439dad..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<!-- Default script designed to just redirect to login screen -->
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-       <TITLE></TITLE>
-<META http-equiv=Refresh Content="0; Url=index.php">
-</HEAD>
-</HTML>
\ No newline at end of file
diff --git a/typo3/index.html b/typo3/index.html
deleted file mode 100644 (file)
index b439dad..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<!-- Default script designed to just redirect to login screen -->
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-       <TITLE></TITLE>
-<META http-equiv=Refresh Content="0; Url=index.php">
-</HEAD>
-</HTML>
\ No newline at end of file
diff --git a/typo3/install/index.htm b/typo3/install/index.htm
deleted file mode 100755 (executable)
index e96d718..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-       <TITLE></TITLE>
-<META http-equiv=Refresh Content="0; Url=index.php">
-</HEAD>
-</HTML>
\ No newline at end of file
diff --git a/typo3/install/index.html b/typo3/install/index.html
deleted file mode 100755 (executable)
index e96d718..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-       <TITLE></TITLE>
-<META http-equiv=Refresh Content="0; Url=index.php">
-</HEAD>
-</HTML>
\ No newline at end of file