The following code gives me an internal server error and I cannot determine why.
RewriteEngine On
SetEnv APPLICATION production
RewriteCond %{ENV:APPLICATION} =production
RewriteRule ^.*$ - [S=1]
RewriteRule ^(.*)$ html/$1.html
All it should do is take the url
/test
and turn have it reference
/html/test.html
behind the scenes, but only if the environment is production, which is set by the SetEnv