protect with .htaccess

  • sixpackjoe
  • Born
  • Born
  • No Avatar
  • Joined: Nov 10, 2007
  • Posts: 3
  • Status: Offline

Post November 14th, 2007, 3:32 pm

Hi all,

Please help.
I want to protect my pictures folder. And when i go in htaccess:

AuthName "Section Name"
AuthType Basic
AuthUserFile /full/path/to/.htpasswd
Require valid-user

It asks me to enter user and pass when i load home page, because i use files from pictures folder.
I just want to prevent someone to enter mysite.com/pictures folder.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 14th, 2007, 3:32 pm

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post November 15th, 2007, 6:56 am

http://www.clockwatchers.com/htaccess_dir.html
http://www.clockwatchers.com/htaccess_images.html
- dM
  • sixpackjoe
  • Born
  • Born
  • No Avatar
  • Joined: Nov 10, 2007
  • Posts: 3
  • Status: Offline

Post November 19th, 2007, 12:34 pm

Thanks!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 55 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.