osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Trouble with .htaccess /.htpasswd

This is a discussion on Trouble with .htaccess /.htpasswd within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I have successfully installed osCommerce 2.2 on my site, but am still having some problems: I am unable to successfully ...


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 04-11-2004, 12:52 PM
Lurker
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DancesWithData
Default Trouble with .htaccess /.htpasswd

I have successfully installed osCommerce 2.2 on my site, but am still having some problems:

I am unable to successfully password protect the admin directory. I have set up the .htaccess and .htpasswd files as indicated, but I am still not sure if I have configured, placed, or referenced the .htpasswd file properly.

First, I created the encrypted password at http://www.kelv.net/programming/htaccess/ and saved it to a text file.

Next I added the following lines to the .htaccess file in the directory in quesiton:

AuthType Basic
AuthName "Locked Area"
AuthUserFile /test/.htpasswd (where /test is the root directory of a subnet at my domain).
require valid-user

Next I copied the text file with the encrypted password to the "/test" directory.


I also have another unrelated problem: I keep getting the following message no matter what I do: Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

I am pulling my hair out of my head trying to figure this one out.
Any help or direction anyone can provide would be much appreciated. My host is GoDaddy if that makes a difference one way or another.

Regards,
Dave Herman
Clarkstown Technology, Inc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-11-2004, 01:21 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

first off if your host offers password protected directories, just do that instead. If not, I'm no help with this one!

Here's some info on sessions http://wiki.oscommerce.com/docsSessions
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
.htaccess question cupido osCommerce 2.2 Installation Help 2 06-25-2004 06:09 PM
can someone pleaseee help? .htaccess trouble cloudie osCommerce 2.2 Installation Help 2 02-27-2004 02:06 AM
htpasswd problem MonkeyBoy osCommerce 2.2 Installation Help 1 12-23-2003 07:24 AM
htaccess nisse osCommerce 2.2 Installation Help 1 11-12-2003 04:35 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 06:01 PM.


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