Hi all,
I'm experiencing server error with my index.php. It will not respond.
The is the result when access domain.com

The problem is that the index.php will not automatically redirect to domain.com/home
What is the issue behind this? What kind of mod or features of apache is missing?
please kindly help me, appreciated.
The index.php script is as follows:
regards,
Sounay
I'm experiencing server error with my index.php. It will not respond.
The is the result when access domain.com

The problem is that the index.php will not automatically redirect to domain.com/home
What is the issue behind this? What kind of mod or features of apache is missing?
please kindly help me, appreciated.
The index.php script is as follows:
Code:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- <meta http-equiv="Refresh" content="0; url=http://www.domain.com/home">-->
<title>title here</title>
<link rel="icon" href="http://domain.com/favicon.ico">
<link rel="image_src" href="http://domain.com/vh_logo.jpg" />
</head>
<body>
<?php
$host = $_SERVER['HTTP_HOST'];
$uri = "/home";
$extra = '';
header("Location: http://$host$uri/$extra");
exit;
?>
</body>
</html>
Sounay
Last edited by a moderator: