Forum Moderators: Robert Charlton & goodroi
else
{
// Show Default Page
$section = "home";
$page = "index";
header("Location: $global_site_url/$section/$page.html");
}
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([^/]+)/([^/]+).html index.php?section=$1&page=$2 [NC]
if(!$page)
{
$global_site_url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']."index.html";
header("Location: $global_site_url");
}
HTTP/1.1 200 OK
Connection: close
Date: Thu, 19 Aug 2010 09:23:38 GMT
Server: Apache
Content-Language: EN-GB
Content-Type: text/html
Content-Type: text/html; charset=iso-8859-1
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
this is part of the feedback/response I get