protect with .htaccess

  • sixpackjoe
  • Born
  • Born
  • sixpackjoe
  • Posts: 3

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

http://www.clockwatchers.com/htaccess_dir.html
http://www.clockwatchers.com/htaccess_images.html
  • sixpackjoe
  • Born
  • Born
  • sixpackjoe
  • Posts: 3

Post 3+ Months Ago

Thanks!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 29 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.