srob Posted October 5, 2006 Posted October 5, 2006 Hey Guys, I have transfered my web site to a new host provider(Godaddy Linux). I believe I have gotten my catalog to working but I am unable to log into the Admin. After the 3rd login attempt I get a 404 error. Here are some of the details... I exported the db's from the old site and imported them into the new with no issues that I know of. I ftped all the old site to the root of the new site so that my catalog now sits in the root of the new site. People are able to check out to make a final purchase and the db shows that it was successfull. I believe I made the correct changes to the configure.php for the root catalog. I have setup the following for an admin password: /.htpasswds/admin/passwd Have encrypted the password per these instructions: http://anydemo.com/encrypt-password-creator.cgi which the passwd file contains example: usernameid:324k8usd83&3 I have setup a /admin/.htaccess file which contains the following: //Beginning of script// AuthType Basic AuthName "The Admin" AuthUserFile "/.htpasswds/admin/passwd" require valid-user //Ending of script// The following is excrepts of my Admin configure.php file if this will help(Note: Server,DB, & password variables removed): define('HTTP_SERVER', 'http://thefullcreel.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', '); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); Can anyone give me something to go on as to what my problem may be???? I appreciate any and all help. Thanks, srob
srob Posted October 5, 2006 Author Posted October 5, 2006 Instead of 404, I get this error 401 Authorization Required I would appreciate any and all help on this. Thanks, Terry
phantompressents Posted December 11, 2006 Posted December 11, 2006 check your .htaccess if you use them
Recommended Posts
Archived
This topic is now archived and is closed to further replies.