added .htaccess to avoid public directory viewing and add custom error page.