Find the answer to your Linux question:
Results 1 to 4 of 4
ok here is the problem, when ever i logging to my password protected webpage it asks me for my password twice . I have know idea what to do because ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! vitalka's Avatar
    Join Date
    Oct 2004
    Location
    Toronto, ON
    Posts
    77

    need help with apache password configuration


    ok here is the problem,
    when ever i logging to my password protected webpage it asks me for my password twice. I have know idea what to do because i'm new to apache. What should i do.

    If i should provide any aditional information tell me.

    Thanks in advance.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    after entering it the second time does it take it or does the password not work?

    maybe post the contents of your .htaccess file that you are using

  3. #3
    Just Joined! vitalka's Avatar
    Join Date
    Oct 2004
    Location
    Toronto, ON
    Posts
    77
    After i enter password for the second time it opens the page i want to see, so yeah it works.

    Here are contents of my htaccess file:
    AuthType Basic
    AuthName "Welcome to password protection"
    AuthUserFile /home/i1201b25/httpd/password/.htpassword
    require valid-user


    This is where the webpage is:
    /httpd/htdocs/underconstruction/index.html

    Document root is set to htdocs

    Thanks for the reply.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! vitalka's Avatar
    Join Date
    Oct 2004
    Location
    Toronto, ON
    Posts
    77
    ok i figured it out for my self. It's the way it should work, because of how web browsers work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •