+ Reply to Thread
Results 1 to 5 of 5

Thread: Password Protected feature problem.

  1. #1
    ilessons is offline x10Hosting Member ilessons is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    2

    Password Protected feature problem.

    Hi,

    I am having a trouble with the password protection of directories. I password protect a directorty and when try to access it with the user name and password it doest redirect to a page. When entered the right user name and password it ask me again to enter and after couple of attempts shows a following error.
    "Authorization Required
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."


    Anyone any clues? I have tried deleting and re adding the username and password. Thanks
    Last edited by ilessons; 03-14-2010 at 09:23 AM.

  2. #2
    phazzedout's Avatar
    phazzedout is offline x10 Sophmore phazzedout is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    CA, United States
    Posts
    230

    Re: Password Protected feature problem.

    .htaccess?
    "Words convey the mental treasures of one period to the generations that follow; and laden with this, their precious freight, they sail safely across gulfs of time in which empires have suffered shipwreck and the languages of common life have sunk into oblivion." - Anonymous

  3. #3
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,267

    Re: Password Protected feature problem.

    Check the .htaccess in the directory involved. You might want to check any parent directories too.

    AuthType Basic
    AuthName "xxxxxxxxxxx"
    AuthUserFile "/home/xxxxxxxxx/.htpasswds/public_html/xxxxxxxxxxx/passwd"
    require valid-user

    is what you are looking for.


    Also look in /home/yourusername/.htpasswds or subdirectories for any password files.
    Last edited by descalzo; 03-15-2010 at 08:14 PM.
    Nothing is always absolutely so.

  4. #4
    ilessons is offline x10Hosting Member ilessons is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    2

    Re: Password Protected feature problem.

    Quote Originally Posted by descalzo View Post
    Check the .htaccess in the directory involved. You might want to check any parent directories too.

    AuthType Basic
    AuthName "xxxxxxxxxxx"
    AuthUserFile "/home/xxxxxxxxx/.htpasswds/public_html/xxxxxxxxxxx/passwd"
    require valid-user

    is what you are looking for.


    Also look in /home/yourusername/.htpasswds or subdirectories for any password files.
    Problem is that when i save htaccess file and htpasswd..they disappear when i refresh..thanks

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,267

    Re: Password Protected feature problem.

    1. Usually, .yadda files are hidden. You have tell the system to show them.
    2. cPanel.
    a. First screen, bottom of page, click reset all interface settings
    b. Click on FileManager
    c. Popup will appear, File Manager Directory Selection .
    d. check Show Hidden Files (dotfiles)
    3. Most FTP clients show dot files. If yours doesn't , try to find a configuration setting to enable.
    Nothing is always absolutely so.

+ Reply to Thread

Similar Threads

  1. Need Help with Log In and Password Protected Pages
    By MomentsInTime in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 09-11-2008, 07:06 PM
  2. Password Protected Page
    By mahlerwd in forum Free Hosting
    Replies: 5
    Last Post: 05-14-2008, 09:15 AM
  3. Password Protected Webpages..
    By shohil in forum Programming Help
    Replies: 15
    Last Post: 03-18-2008, 12:25 PM
  4. Do password protected areas, need ads?
    By randomize in forum Free Hosting
    Replies: 1
    Last Post: 06-07-2006, 06:55 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers