Reputation: 79
I have seen many tutorials on .htaccess. Different people write differently. You can find variations of casing:
rewriteengine on
RewriteEntgine on
Rewritengine On
It seems all of those are working fine.
Upvotes: 1
Views: 141
Reputation: 4633
Apache documentation suggests that the directives are not case-sensitive, but the argument may be. I would recommend you stick to the format declared in the official documentation to avoid possible confusion and/or failure.
http://httpd.apache.org/docs/current/configuring.html#syntax http://httpd.apache.org/docs/current/mod/mod_rewrite.html#RewriteEngine
Upvotes: 3