Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

URL being redirected


Deskdirect

Recommended Posts

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

<?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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...