osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

htpasswd problem

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-18-2003, 12:29 PM
Lurker
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MonkeyBoy
Default htpasswd problem

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
(Its not very clear if your doing this on your own web server locally.)

The next step. I do in command promt:

Code:
htpasswd -b -c .htpasswd user pass to create Username: User and Password: Pass
It creates the file, but where do I put this .htpasswd file?

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-23-2003, 07:24 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax