Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSl issue? or htacess?


ulefos

Recommended Posts

Hi

 

i have recently changed server, they have uploaded my ssl and i have set up password for admin

 

my problem is

when i click on my products on the home page i get a 404 error

 

If i dont have the password set for admin my site is ok click on products and they are fine, but i know i need to password protectmy admin

 

could someone point me i n the right direction please

is it htacess problems or ssl problem or configure problem

 

thanks

 

teresa

Link to comment
Share on other sites

This is my admin/includes/configure

 

define('HTTP_SERVER', 'http://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.mysite.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://www.mysite.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/xxxxx/public_html/admin/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/xxxxx/public_html/admin/'); // absolute path required

define('DIR_WS_CATALOG', '/home/xxxxxxx/public_html/'); // absolute path required

define('DIR_FS_CATALOG', '/home/xxxxxxx/public_html/'); // 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/');

 

 

 

includes/configure

 

define('HTTP_SERVER', 'http://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.mysite.co.uk');

define('ENABLE_SSL', 'true'); // secure webserver for catalog module

define('HTTP_COOKKIE_DOMAIN', 'www.mysite.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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', '/home/xxxxxx/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

so i dont know what bit would need changing if configure files are wrong

Any ideas would be much appreciated

 

teresa

Link to comment
Share on other sites

could someone look at www.xxxxxxxxxxx.co.uk and click on a product

when i do this i get an error 404 not found

 

could someone point me in right direction please

 

thanks teresa

 

 

this has been corrected by the htacess

Link to comment
Share on other sites

this has been corrected by the htacess

Hi Teresa,

Could you elaberate on what the problem was? I am having a similar problem but only on certian computers which is being a nightmare to diagnose because a cant replicate it on the computers I have regular access to. I have determined that it is the htaccess because if I delete certain parts it will work again but cant work out what the problem is exactly.

 

SJC

Link to comment
Share on other sites

Hi Teresa,

Could you elaberate on what the problem was? I am having a similar problem but only on certian computers which is being a nightmare to diagnose because a cant replicate it on the computers I have regular access to. I have determined that it is the htaccess because if I delete certain parts it will work again but cant work out what the problem is exactly.

 

Post your htaccess content here Scott.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...