Fixed RewriteBase within the .htaccess file for sample application.
Added the Error module.