<?php

error_reporting(E_ALL);

/* FILE NAME /index.php */

$incomingurl = $_SERVER['REQUEST_URI']

if ( ( $incomingurl == '/index.php' ) OR ( $incomingurl == '/' ) )
  {
    require_once('homepage.php');
    exit;
  }

elseif ( $incomingurl == '/identifiedpage.php' )
  {
    echo 'succesfully at test page<br>';
    echo $incomingurl;
    exit;
  }

header("HTTP/1.0 404 Not Found");
include_once("404.shtml");
exit;