<IfModule dir_module>
DirectoryIndex index.html index.php index.php4 index.php3 index.cgi index.pl index.htm index.shtml index.phtml
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !(css)
RewriteCond %{REQUEST_URI} !(js)
RewriteCond %{REQUEST_URI} !(images)
RewriteCond %{REQUEST_URI} !(videos)
RewriteCond %{REQUEST_URI} !(cache)
</IfModule>
8 Responses to Protect website folders by .htaccess
Leave a Reply
You must be logged in to post a comment.
Every day I read this blog and it pleases me to be written here posts.
I will be really thankful to the author of the post to make this lovely and informative article live for us. We actually appreciate ur effort. Sustain the good work. . . .
Wow, that’s an extremely nice read!
I used to be just browsing here and there and also got you just read this post. I must say that we’re from the hand of luck today in any other case getting such an excellent post to read wouldn’t have been achievable in my opinion, at the very least. Really appreciate your content.
Extremely good blog and worth recommending.
Sometimes I visit various blogs but this post smashed me. Best.
I’d must verify with you here. Which is not something I normally do! I enjoy reading a post that will make individuals think. Also, thanks for allowing me to remark!
“Hello,I really like perusing by means of your blog, I wished to depart a small comment to assistance you and would like you a excellent continuation