It is sometimes caused if you use a shared SSL, and the redirects somehow get corrupted. If you are certain that BOTH configure.php files are correct, try this!
Log onto your server, and navigate to osCommerce/catalog/includes/functions/general.php. As with anything (but especially when working with php files), BACKUP, BACKUP, BACKUP. In case things don't work out, you can at least restore the original file.
Top 4 Download periodically updates information of Dreaded Error 404 on Login or Checkout script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. Dreaded Error 404 on Login or Checkout torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!