Deskdirect Posted February 27, 2004 Share Posted February 27, 2004 When I attempt to view my store using the url http://www.mitchryder.com/store I am redirected to https://mitchryder.secure.powweb.co...4541463fd12f2c8 which gives a 'cannot find server' error until you refresh the page. I've tried it from several machines so its not a cache problem. I am sure its something in the config but I'm just not sure how to resolve this. I have nothing in htacess that redirects my store's url. can anyone help me with this? PLEASE! Link to comment Share on other sites More sharing options...
♥yesudo Posted February 27, 2004 Share Posted February 27, 2004 post your config files here without the db password, user id etc Your online success is Paramount. Link to comment Share on other sites More sharing options...
Deskdirect Posted February 27, 2004 Author Share Posted February 27, 2004 <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mitchryder.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mitchryder.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mitchryder.com'); define('HTTPS_COOKIE_DOMAIN', 'mitchryder.secure.powweb.com'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/www/m/mitchryder/htdocs/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'xxxxxx.powweb.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'xxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 Help! Please! Link to comment Share on other sites More sharing options...
user99999999 Posted February 28, 2004 Share Posted February 28, 2004 You have some redirector in you root dir .htaccess maybe Even this http://www.mitchryder.com Takes you here http://mitchryder.com/mrol/ Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 You have some redirector in you root dir .htaccess maybe Even this http://www.mitchryder.com Takes you here http://mitchryder.com/mrol/ Yeah, its doing what's its suppose to do. But the store just started this redirection crap. Link to comment Share on other sites More sharing options...
starcad Posted February 28, 2004 Share Posted February 28, 2004 Check your index code and make sure you are using htaccess on your site. My site was hacked several weeks ago by a person redirecting to a site in the Sovit Union. I replace the index and deleted the redirect file along with the image they uploaded. They were thankfully just playing around. Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 I'm using htaccess but can you post yours here so I can make sure I have all the basics covered. I'll check what you suggested and thanks. Link to comment Share on other sites More sharing options...
user99999999 Posted February 28, 2004 Share Posted February 28, 2004 The root .htaccess will apply to all sub directories. Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 Ok, I've made sure that isn't redirecting the store. I've checked the root index as well as the store index and can't find anything out of place. Link to comment Share on other sites More sharing options...
endtrail.com Posted February 28, 2004 Share Posted February 28, 2004 Possibly reinstalling oscommerce might do the trick. Link to comment Share on other sites More sharing options...
user99999999 Posted February 28, 2004 Share Posted February 28, 2004 You have an extra http:// somewhere This http://www.mitchryder.com/store Redirects here http://mitchryder.com/store and then here http://http://www.mitchryder.com/store/?osCsid=... Did you know a search engine spider cant follow a redirect like that? Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 My store has been at http://www.mitchryder.com/store for over a year - this just started happening a few days ago. I haven't made any changes to the store or to the site in months. My problem seems to be only with the store url and what's driving me crazy is that I can't find the extra http:// or anyplace in the store directory or anywhere else for that matter that causing this redirection. My site will come up without the www however I never code anything that way (just a habit). If clear my cache and type in the url or if I try to use a link from anywhere else on the site I get the store logoff url I mentioned earlier. I really hate to re-install the store but I just may have to do that. Link to comment Share on other sites More sharing options...
user99999999 Posted February 28, 2004 Share Posted February 28, 2004 I dont think its comming ffrom OSC, its something in your webhost config either .htaccess or 404 redirect. I notice it likes to remove the www. Maybe your hosting had done some upgrades to cause the change. Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 Thanks for trying to help. I'll check with my host. Link to comment Share on other sites More sharing options...
Deskdirect Posted February 28, 2004 Author Share Posted February 28, 2004 My host made some changes to the way subdomain resolve. Why its affecting me has not been answered yet (I don't have any subdomains). But after days of fighting with this issue I think I've figured it out! each of my directories need a trailing slash - http://www.mitchryder.com/store redirects to http://mitchryder.com/store/ http://www.mitchryder.com/store/ seems to work now. YIKES - I'm bald now from all the hair pulling ;) Link to comment Share on other sites More sharing options...
user99999999 Posted February 28, 2004 Share Posted February 28, 2004 Hi www is actually a subdomain so they broke it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.