Fixed redirect issue for public folder and upgraded host to PHP 5.4