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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |