#Options +FollowSymLinks +ExecCGI<IfModule mod_rewrite.c>RewriteEngineOn#If it's in the static directory then serve it.RewriteCond%{REQUEST_URI}!^/static/(.+)$
#These files should be served directlyRewriteCond%{REQUEST_URI}!^/robots.txt$
RewriteCond%{REQUEST_URI}!^/favicon.ico$
# redirect to our front web controllerRewriteRule^(.*)$ index.php?ygRoute=$1 [QSA,L]</IfModule>#there has been a major problemErrorDocument500"<h2>Framework error</h2><p>Framework failed to start</p>"#this fudges directory listings from static to 404 errorsErrorDocument403/null#this fudges 404 errors to the frameworkErrorDocument404/null