Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    PDW
    PDW is offline
    Member
    Join Date
    Dec 2003
    Posts
    115

    Default Password Protection Gone

    I recently had to have a re-image done. i restored all of the accoutns froma back up just fine. However I dont ahve password protected directories capabilities through Cpanel.

    When I go to password protect a new directory I get

    A password file was not specified in the directory's .htaccess file.
    This feature is not available.

    Please enable password protection of the directory
    in order to activate this feature


    If I go to a directory that is currently enabled (was prev.) It goes to a blank page.

    Any suggestions or ideas?

    Thanks
    brian

  2. #2
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    A password file was not specified in the directory's .htaccess file. This feature is not available.
    It seems that the password file specified in ur .htaccess file is not present. To password protect a directory required .httaccess must have following entries..

    AuthName "username"
    Authtype Basic
    AuthUserFile /path/to/.htpasswd
    require valid-user

    U can create .htaccess file and password for that directory by using following command ...

    htpasswd -c /path/to/.htpasswd username

    Also make sure AllowOverride AuthConfig is set in httpd.conf.
    Either Zero Or Hundred...

  3. #3
    PDW
    PDW is offline
    Member
    Join Date
    Dec 2003
    Posts
    115

    Default

    I cant seem to create a new one at all anywhere.
    I even tried deleting the account and re-creating it and still no go . (started Fresh)

Similar Threads & Tags
Similar threads

  1. Folder password protection help?
    By Renek007 in forum New User Questions
    Replies: 1
    Last Post: 12-11-2009, 08:45 PM
  2. PHP and password protection
    By lvanblerk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-02-2004, 03:43 AM
  3. Password Protection Problem
    By GlobalPN in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-25-2003, 12:21 PM
  4. Password Protection
    By Impuls3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-21-2003, 04:41 PM
  5. Password Sharing Protection
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-06-2002, 03:15 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube