badbyte Posted August 19, 2005 Posted August 19, 2005 Hello, I installed my oscommerce on one of my computers and everything is ok but what i can't find out is how to put pwd on my admin page. In www/admin/includes/configure.php i have this: // define our database connection define('DB_SERVER', '192.168.2.102'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'shop'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' If i put a pwd in define('DB_SERVER_PASSWORD', ''); i can't access the admin page anymore. Where can i configure my pwd for the admin page? If anyone knows please help. :D
Guest Posted August 20, 2005 Posted August 20, 2005 This must be done using .htaccess - osCommerce does not have a built in admin user/password. Matti
badbyte Posted August 20, 2005 Author Posted August 20, 2005 hello Matti, Can u explain that better? Im really a begginer. I edited the .htaccess in www\admin but i don't understand what i need to do there. Thanks
Wendy James Posted August 20, 2005 Posted August 20, 2005 Usually your host will have a link on their control panel to password protect directories, that is the easiest way to do it. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.