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 8 of 8
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    htaccess woes :(

    OK so I have created an htaccess file like this:


    AuthUserFile /filepath/zips/.htpasswd
    AuthGroupFile /dev/null
    AuthName EnterPassword
    AuthType Basic

    require user publishers

    and a htpasswd file like this

    publishers:76/ytNYqTaaR.

    The password has been obtained from the encrypter site (cant recall the domain name but it may be wrong). If I hit cancel, I get the 401 page but it shows the name of the file I was refused access to and that filename is correct.

    Both files are in the folder that is to be password protected and I have checked with the ISP who tell me there are no issues with their set up to prevent the thing working.

    when the dialogue box appears for entering the username and password, it just re-appears after clicking OK. I can't get access to the content of that folder.

    Can anyone tell me why (ie what I'm doing wrong)?

    Bazz
    Last edited by bazz; 11-17-2004 at 06:19 PM.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Got it sorted. When looking for the filepath, I had looked at the error files of the wrong website. Doh!!

    Bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #3
    New Coder
    Join Date
    Nov 2004
    Location
    wisconsin
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what kind of server u got?
    Can you commentate bowling?

  • #4
    New Coder
    Join Date
    Nov 2004
    Location
    wisconsin
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    because stuff like that has happened to me with apach for no apparent reason
    Can you commentate bowling?

  • #5
    New Coder
    Join Date
    Nov 2004
    Location
    wisconsin
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    *apache
    Can you commentate bowling?

  • #6
    Senior Coder chilipie's Avatar
    Join Date
    Jul 2004
    Location
    Shrewsbury, UK Age: 16
    Posts
    1,117
    Thanks
    0
    Thanked 0 Times in 0 Posts
    jettlarue2003 - Did you know that posts can be more than one line long? And that you can edit your posts if you make a spelling mistake?

  • #7
    New to the CF scene
    Join Date
    Nov 2004
    Location
    Wisconsin
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I'm having similar difficulty with htpasswd

    I'm also having trouble with htpasswd. I can access the .htpasswd file, and output the contents of it in to a page. When I try to enter the dir that has the .htaccess I get the popup box. I enter the info, and it repeats 3 times before giving a 401.

    I've searched forums, and read some apache docsets to no avail.
    URL: http://tdurl.com/ag

    Thanks for any help!

  • #8
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    well I ain't an expert but if you post your .htaccess code (Hope there isn't a security risk in doing that), it may show up what's wrong. two questions though.

    did you encrypt your password?
    Have you defo got the filepath correct?

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

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