htacess file and setpath

  Patr100 22:08 30 Jul 2007

I am trying out password protecting a folder using an htacess file. After much googling seems straighforward enough.
Created foldder to protect. Created test usernamer and password and encrytpted and placed in htpasswrd file into folder to protect. Created index.html page to browse to within folder.

Still not being prompted when entering the url socan view the page anyway. I suspect the path in the AuthUserFile line is wrong but tried a few permutations and no luck yet.

Any suggestions welcome.


  adamcoppard 07:04 01 Aug 2007

You could achieve the same thing with PHP, or change the permissions of certain folders so that only admin's can read and write to the specific folders.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment booster votre iPhone ?