.htaccess help

Discussion in 'Apache' started by mcx76, Feb 23, 2008.

  1. #1
    I installed OSCommerce 2.2 on server.Everything installed smoothly.

    I can see site working fine. Admin is opening without login/password.

    I didnt find the login/password on Admin site.

    How i can protect admin site with ".htaccess"
    "What i add in .htaccess"

    My Oscommerce path is public_html/osc/

    Thanks
     
    mcx76, Feb 23, 2008 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Do you have cpanel? If you do you need to look for the link on your cpanel that says "Password Protect Directories". You'll figure it out from there as it's very straightforward.
     
    mcfox, Feb 23, 2008 IP
  3. mcx76

    mcx76 Peon

    Messages:
    84
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3

    Thanks a lot.I did as you mention.The login and Password window appear first time.
    After that nothing happen.No login Password option working.I think i am doing some where wrong.

    Again.Thanks for your prompt reply.
     
    mcx76, Feb 23, 2008 IP
  4. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #4
    You may need to get in touch with your web host. I've had this happen to me and it's been due to a problem on the host's end. Raise a support ticket and explain the password protect feature isn't working properly.
     
    mcfox, Feb 23, 2008 IP