Forum Moderators: phranque
No, but the literal period in the ".htaccess" pattern should be escaped, and removing the start anchor would allow it to protect .htaccess files in subdirectories as well as the directory where the code is located. The "*" at the end appears to be spurious.
# protect htaccess file
RewriteRule \.htaccess$ - [F]
# pages
RewriteRule ^([a-z0-9-]+)\.shtml$ /index.php?title=$1 [L]
Jim