alexandreamiranda Posted September 11, 2007 Posted September 11, 2007 Hi. Sorry for my English and sorry if this is a double post. I've been searching for a long time in this forum, looking for an answer and I've found many people having troubles with configure.php and HTTP/HTTPS problems, but I didn't find anyone with THIS specific problem. When I enter in my site, all the links are set to use the HTTPS (what I dislike!). I want to use HTTPS only in the checkout pages. If I put anything in HTTPS_SERVER (define), unfortunately, all the website will use it. I have the configure.php like this: <?php define('MOSTRA_VALOR', 0); define('HTTP_SERVER','http://www.nsf.ind.br'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER','https://www.linkshop.com.br'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL',true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN','nsf.ind.br'); define('HTTPS_COOKIE_DOMAIN','nsf.ind.br'); define('HTTP_COOKIE_PATH','/loja/'); define('HTTPS_COOKIE_PATH','/loja/'); define('HTTP_CATALOG_SERVER','http://www.nsf.ind.br/loja'); define('HTTPS_CATALOG_SERVER','https://www.linkshop.com.br/nsf/loja'); define('DIR_WS_HTTP_CATALOG','/loja/');//se precisar colocar assim /http/loja/ define('DIR_WS_HTTPS_CATALOG','/loja/'); define('DIR_WS_CATALOG', '/loja/'); //... ?> Because my SSL is shared, I've already setup "forced cookies" to false (using a sessionID in URL now).
alexandreamiranda Posted September 11, 2007 Author Posted September 11, 2007 I forget to say: Don't matther what I put in the 'ENABLE_SSL' (true or false). The hole website just use the HTTPS if it is set...
alexandreamiranda Posted September 12, 2007 Author Posted September 12, 2007 Ok. I'm sorry. The problem weren't in the configure.php. Someone, before me, had changed the function tep_href_link() in the file html_output.php. Now it's ok. I just have to fix the message "contains not cryptograf itens". Bye.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.