Protect website folders by .htaccess


Hits: 1855  

<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>

Published by

Sandeep Verma

I’m an Entrepreneur. I’m proud to work as Blogger, LAMP Programmer, Linux Admin, Web Consultant, Cloud Manager, Apps Developer, Searcher. Concentrate > Observe > Imagine > Launch

31 thoughts on “Protect website folders by .htaccess”

  1. When I create a ticket your “Your Message” WYSIWYG box is only 20 pixels wide. So I’m posting my question here.

    I recently purchased your “HTML5 Player for Custom Websites” module for a client who wishes to update his music playlists each week on his website (he’s NOT a developer). But after I installed the software, it looks like it won’t be very easy for him to manage it due to the XML and stuff.

    My question is this – Is the Amazon S3 player very easy for a non-web developer to manage? I haven’t used it Amazon’s system before and wondering if it would be a better solution. It just needs to look and function like the full player (with list on the right), and be easy to change the mp3’s on a regular basis.

    If there’s a workaround to the custom website player that I purchased, please let me know what we can do, or what the best solution is…

    Thanks…

    Eric

  2. We purchased the Amazon S3 HTML5 player. Now I’m a bit upset, because it says NOTHING about being a WordPress plugin on the info page at http://html5plus.svnlabs.com/shop/amazon-s3-cloud-html5-mp3-player/. But after extracting the files, it only provides instructions for installing on wordpress. I didn’t want plugin for wordpress. I wanted plugin for custom website. Again, the main info page has absolutely NO WordPress reference until AFTER you purchase the script. Very deceiving.

    Does this work with both? If so, where are instructions to get it to work on a stand-alone website?

  3. Hi im using your HTML5 player from the wordpress plugin area, after i use the player it does not give any option to download the audio…only play option is there. Am i missing something in the settings or this player wont allow download?

  4. Hi – ive just purchased the shoutcast-icecast-html5-radio-player and am trying to install it in wordpress widget area
    I need to get this site live by Monday so if you could respond asap that would be very helpful.
    Questions:
    1) Player has stopped displaying in Chrome?
    2) How can I change the width to make it align correctly 

    Thanks

    Paul – please reply to paul@3fnetworks.co.uk asap thx

  5. Hey there are using WordPress for your blog platform?

    I’m new to the blog world but I’m trying to get started and set up my own. Do you need
    any html coding expertise to make your own blog?
    Any help would be greatly appreciated!

  6. Oh my goodness! Awesome article dude! Many thanks, However I am encountering issues with your RSS.
    I don’t understand why I cannot subscribe to it. Is there anyone
    else getting the same RSS problems? Anybody who knows the
    answer can you kindly respond? Thanx!!

  7. This is very interesting, You are a very skilled blogger.
    I’ve joined your rss feed and look forward to seeking more of your wonderful
    post. Also, I have shared your website in my social networks!

  8. I’m extremely impressed with your writing skills
    and also with the layout on your blog. Is this a paid theme or did you modify it yourself?
    Either way keep up the nice quality writing, it’s rare to see a
    nice blog like this one nowadays.

  9. It’s really a nice and helpful piece of information. I’m satisfied that you
    shared this helpful information with us. Please stay us informed like this.
    Thanks for sharing.

  10. Howdy just wanted to give you a quick heads up.
    The text in your article seem to be running
    off the screen in Firefox. I’m not sure if this is a formatting issue or something
    to do with web browser compatibility but I thought
    I’d post to let you know. The style and design look great though!
    Hope you get the issue resolved soon. Cheers

  11. I’d like to thank you for the efforts you’ve put in writing this blog.
    I really hope to see the same high-grade blog posts from you in the future as well.
    In fact, your creative writing abilities has encouraged me to get my
    very own blog now 😉

  12. Good day! This is kind of off topic but I need some help from an established
    blog. Is it tough to set up your own blog?
    I’m not very techincal but I can figure things out pretty fast.
    I’m thinking about setting up my own but I’m not sure where
    to begin. Do you have any ideas or suggestions? Thank you

  13. Thanks for any other excellent article. The place else could anybody get that kind of information in such an ideal approach of writing?

    I’ve a presentation next week, and I’m on the look for such information.

  14. Wonderful beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog website?
    The account aided me a acceptable deal. I had been tiny
    bit acquainted of this your broadcast offered bright clear idea

  15. My brother suggested I might like this blog.
    He was totally right. This post truly made my day. You can not imagine
    just how much time I had spent for this info! Thanks!

Leave a Reply

Your email address will not be published.

*