Updated site.php file to use APC cache, and enable URL_REWRITING_ALL