Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Try
    Code:
    AuthUserFile .htpasswd
    instead.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  2. #17
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    Also, you have this in your .htaccess file:
    Code:
    AuthGroupFile /dev/null
    /dev/null is used in Unix-like OSes for discarding data and such. Windows will not understand that.

    Just get rid of that line totally, unless you have a group file. If you have a group file, then provide the path to it rather than /dev/null.

    -Shane

  3. #18
    New Coder
    Join Date
    Jul 2007
    Posts
    54
    Thanks
    17
    Thanked 0 Times in 0 Posts
    Thanks for all your responses guys,

    I removed the "AuthGroupFile" line. Still doing the same thing.

    I am wondering if there is something that needs to be done in the httpd file as well?


    This is what my .htaccess file looks like now:

    Code:
    AuthName "Test Database" 
    AuthType Basic 
    AuthUserFile C:/Apache2.2/.htpasswd
    require valid-user
    Thanks,

    Heeter

  4. #19
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    I'm not sure what it could be then.

    Maybe start fresh and use this tutorial that is aimed at using Windows and Apache: http://sniptools.com/tutorials/windo...authentication

    -Shane


 
Page 2 of 2 FirstFirst 12

Posting Permissions

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