I'm having similar issues but not the same. I am trying to get the login.php page to go to the index.php page in the clientLogin sub-directory. It keeps sending to the denied.php page. I am attaching my pages to see if you can help.
When I try to get to my login.php from another page in the site I get the following error:
Warning: require_once(Connections/InterPrimus.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\InterPrimus_CC\login.php on line 1
Fatal error: require_once() [function.require]: Failed opening required 'Connections/InterPrimus.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\InterPrimus_CC\login.php on line 1