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

    .htaccess problem

    Hi,

    I have htaccess working on one folder of my site but I cant seem to protect a different folder.

    The folder that I have successfully protected is here:

    domain name/zips

    the difficult one is here

    domain name/cgi-bin/admin

    The htacces file reads the same on both folders, because it is looking for the same htpasswd file. should I have made it different in any way and if so, where?

    help plz.

    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

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    UK
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    your cgi-bin may be in a different place, check your apache config to see if it's a virtual dir or something

    Is it not protecting it at all or is it protecting it, but you can't enter a password?

  • #3
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    It's not protecting it at all. I have checked the file path and it is that that I have entered to the htaccess file. I'm moving across to a new server so this will no longer be a problem for me as I can set the passwords through a control panel with the new ISP.

    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
    •