This is a discussion on htpasswd problem within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hello all, I wonder if you could help me out please I am having a slight problem. I have re-read ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello all, I wonder if you could help me out please I am having a slight problem. I have re-read the documentation and carried out countless google searches with no success. I've installed oScommerce locally on my winXP pro PC. I have no problem with the installtion at all. mySQL database etc all works fine. However, I am having problems trying to passwod protect my admin directory. What i've done so far: I put the .htaccess file inside the admin directory I want to protect with the following: Code: AuthType Basic AuthUserFile /home/user/passwords/.htpasswd Authname Login require valid-user The next step. I do in command promt: Code: htpasswd -b -c .htpasswd user pass to create Username: User and Password: Pass The main problem i'm having now is that when I try to access the Admin directory/page, IT DOES ask me for the username and password, but doesn't accept the username and password I type, so i'm thinking i've put the .htpasswd in the wrong place.. do you know where this file should go if your running Apache locally and not on a real web host? Also where should the .htaccess file be pointing to? I've tried many variations, with no luck. Thanks! |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Let me guess - your running IIS!!!! Simple IIS does not use APACHE files. .htpasswd/.htacess etc is an APACHE standard. Use one of the ADMIN Levels w/password to protect your admin - or uninstall IIS and load APACHE. Good Luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Email problem on webmail n aslo cupons problem | jikey | osCMax v2 Installation issues | 0 | 10-26-2006 12:43 AM |
| Trouble with .htaccess /.htpasswd | DancesWithData | osCommerce 2.2 Installation Help | 1 | 04-11-2004 01:21 PM |
| Help with .htaccess and htpasswd please | ozstar | osCommerce 2.2 Installation Help | 5 | 03-12-2003 01:45 AM |