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.



LinkBack URL
About LinkBacks






Bookmarks