Difference between revisions of "Apache 2 - Redirection page"

(Created page with "Category:Linux This is a simple '''index.html''' page that has to be put at the root of your virtual host. It will redirect all users to a specific page | or HTTPS. <...")
 
 
Line 6: Line 6:
  
  
<syntaxhighlight lang="html">
+
<syntaxhighlight lang="html5">
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
 
<html xmlns="http://www.w3.org/1999/xhtml">

Latest revision as of 16:55, 19 September 2014


This is a simple index.html page that has to be put at the root of your virtual host.

It will redirect all users to a specific page | or HTTPS.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>dev.vehco.com</title>
		<meta charset="UTF-8">
	        <meta http-equiv="refresh" content="0;url=https://dev.vehco.com/">
	        <script type="text/javascript">
	            window.location.href = "https://dev.vehco.com/"
	        </script>
	</head>

	<body>
		<p>
		If you are not redirected automatically, 
		follow the <a href='https://dev.vehco.com/build'>link to dev.vehco.com</a>
		</p>
	</body>

</html>