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.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    May 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    .htaccess & .htpasswd

    i dont get it plz help, i have a .htaccess to stop people from assessing that directory by a pass word but i just comes up with a 500 internl error i have named them propaly and set allowoveride to all so im so confused? by the way i am also using windows 2003 server, below are the .htaccess code and .htpasswd

    .htaccess
    AuthUserFile c:\Program Files\?????\.htpasswd
    AuthType Basic
    AuthName "My Files"
    Require valid-user

    .htpasswd
    zantor:???????????

    ????= apropiat infomation not needed to be shown!

    anyhelp would be greatly apreashated, thanks

  • #2
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts
    What server are you using? If your using ISS they won't work.

  • #3
    New Coder
    Join Date
    May 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    server

    i am using easyPHP wich has apache and mysql in!

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by Error 404
    What server are you using? If your using ISS they won't work.
    You mean IIS, Internet Information Services.
    OracleGuy

  • #5
    New Coder
    Join Date
    May 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iss

    no it is not iss just easyPHP wich comes with apache

  • #6
    Regular Coder
    Join Date
    Oct 2004
    Posts
    363
    Thanks
    0
    Thanked 18 Times in 18 Posts
    it might be a problem with the space in the path, try putting the .htpasswd file somewhere else, or, it might be the c:\ bit, try just \

  • #7
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    You got Apache set up correctly? I've seen these errors before caused by config problems...


  •  

    Posting Permissions

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