Jump to content

How can I password protect a folder?


Recommended Posts

I keep getting a Internal Server Error message when I try to password protect a folder using .htaccess. Here is my codes. What am I doing wrong?

C:/Documents and Settings/XXXXXXX/My Documents/Mowes Server/www/.htaccessAuthUserFile C:/Documents and Settings/XXXXXXX/My Documents/Mowes Server/.htpasswdAuthType BasicAuthName "My Secret Folder"Require valid-user

C:/Documents and Settings/XXXXXXX/My Documents/Mowes Server/.htpasswdtest:cOYEWO52hnJoc

OS: Windows XpServer: MoWeS 2.0.3Apache/2.2.11 (Win32) PHP/5.3.5 Server

Edited by Cod-nes
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...