Hey all,

I had posted this issue previously regarding my Ajax site navigation module not loading correctly. It would load on certain parts of the site and not others. After some research I have discovered that I need to redirect from "www.mydomain.com" and make a call to "mydomain.com" instead. I thought a 301 .htaccess redirect would work but according to the site that sold me the template the script in my configure.php file must be changed. This is what configure.php looks like now.

  define('HTTP_SERVER', 'http://mydomain.com');
  define('HTTPS_SERVER', 'https://mydomain.sslpowered.com/mydomain.com/');
  define('ENABLE_SSL', 'TRUE');
  define('HTTP_COOKIE_DOMAIN', 'mydomain.com');
  define('HTTPS_COOKIE_DOMAIN', 'mydomain.sslpowered.com/mydomain.com/');
  define('HTTP_COOKIE_PATH', '/mydomain.com/mysite/catalog/');
  define('HTTPS_COOKIE_PATH', '/mydomain.sslpowered.com/mydomain.com/mysite/catalog/');
  define('DIR_WS_HTTP_CATALOG', '/mysite/catalog/');
  define('DIR_WS_HTTPS_CATALOG', '/mysite/catalog/');
  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', '/mnt/w0505/d04/s10/b0308916/www/mydomain.com/mysite/catalog/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

  define('DB_SERVER', 'MYSQLHOST');
  define('DB_SERVER_USERNAME', 'u70670810');
  define('DB_SERVER_PASSWORD', '5bbfb4');
  define('DB_DATABASE', 'd60604658');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');

I am wondering what has to be changed in the script so it will make the call the the correct domain so the ajax script will load on all parts of the site.

Any help would be great.

7 Years
Discussion Span
Last Post by EvilAssassin

Im trying too learn php for my site but i keep running into trouble whats the best php program for beginners. though my site and forum looks good i need too learn alot more for my up comming social network

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.