Do you have a question? Post it now! No Registration Necessary. Now with pictures!
December 6, 2007, 10:40 am
rate this thread
Re: Oscommerce admin login
A default installation of OSCommerce don't have any special
adminstration login. If you want to know how to protect the
administration area one possibility is to create a .htaccess file (if
your webserver is a apache)
A basic .htaccess for password protection the admin directory would look
AuthName "OSCommerce Administration
AuthUserFile /...full absolute path../.htpasswd
AuthUserFile would be something like
"/var/www/web10/html/admin/.htpasswd" and need to be an absolute path to
the password file.
The file ".htpasswd" contains the login names and encrypted password.
You have to create such a file by using the apache tool "htpasswd" or a
online creator like http://www.htaccesstools.com/htpasswd-generator /.
For more information about htaccess look at: