You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
Hi all
Having issues where by my site is not securing properly and showing non secure and secure items.
Also base url is showing http instead of https when accessing a secure (supposed) page.
Below is some of my config file relevant to setting up ssl
$config['khxc.url_nonssl'] = 'http://www.pcpricedrop.com/click';
$config['khxc.url_ssl'] = 'https://secure1.namesco.net/pcpricedrop.com/click';
$config['khxc.port_ssl'] = '443';
$config['khxc.cookie_domain_nonssl'] = '.pcpricedrop.com';
$config['khxc.cookie_path_nonssl'] = '/click';
$config['khxc.cookie_domain_ssl'] = '.secure1.namesco.net';
$config['khxc.cookie_path_ssl'] = '.pcpricedrop.com/click';
Has anyone any experience of this happening to them?
Can someone advise please
Regards
Jason
Offline
The ssl common name for the certificate is .namesco.net so try setting the domain_ssl to
$config['khxc.cookie_domain_ssl'] = '.namesco.net';
John
Offline
Tried that John and its still the same.
Why isnt the base url changing? Is it something to do with the index.php file in the /click directory?
What should i be looking for if it is?
Im really lost now. lol
Offline
Silly question time, exactly how are you changing config.php? If you haven't been doing it using the installer I might suggest that you use it instead of whatever method you are using now to be sure that the right file is being updated.
Offline
I have been using the installer then saw a post saying you could just change the config.php file and upload via ftp.
So both but i will try again with installer now.
Offline
There's no logical reason why the base URL isn't changing as it should nor why a cookie isn't being set when using httpS. Those are the real issues here.
Offline
well ive just used the installer and everything is exactly the same.
Any other ideas?
Might i add. That changing the port to 80 instead of 443 makes things work?
Any idea why?
I have left it at port 80 for you to see.
Nothing else has changed see config below.
$config['khxc.url_nonssl'] = 'http://www.pcpricedrop.com/click';
$config['khxc.url_ssl'] = 'https://secure1.namesco.net/pcpricedrop.com/click';
$config['khxc.port_ssl'] = '80';
$config['khxc.cookie_domain_nonssl'] = '.pcpricedrop.com';$config['khxc.cookie_path_nonssl'] = '/click';
$config['khxc.cookie_domain_ssl'] = '.secure1.namesco.net';
$config['khxc.cookie_path_ssl'] = '/pcpricedrop.com/click';
This was taken off the namesco support page
What is the url for SSL transactions?
4*4*4*4*4*
Article
SSL is only available through Plus versions of our hosting packages.
To access a secure url using our SSL certificate, you will need to use the following:
On Linux hosting:
https://secure1.namesco.net/yourdomainn … ename.html
On Windows hosting:
https://secure2.namesco.net/yourdomainn … ename.html
So, if your domain name was fredbloggs.com, and you had a page called contact.html that you wanted to be accessed through our secure certificate, the address to use would be
On Linux hosting:
https://secure1.namesco.net/fredbloggs.com/contact.html
On Windows hosting:
https://secure2.namesco.net/fredbloggs.com/contact.html
Please note that this doesn't provide any encrypted emails etc, it simply provides a 128-bit encrypted channel between the browser and the server.
Last edited by jason (12-02-2010 13:25:28)
Offline
Leave the port at 80. Things are working like they should be. It works with port 80 because of how your provider has things set up with that shared common cert.
Offline
Dave.
I appreciate yours and Johns help but now it is noticable that the friendly urls using the basic seo turned on is making the urls go funny .
example now using port 80
http://www.pcpricedrop.com/click/index. … ortrelay=1
before using 443
http://www.pcpricedrop.com/click/gbu0-p … 014BX.html
Any ideas why?
Im now thinking of buying a dedicated ssl certificate but am not sure its going to work properly.
What do you think?
Last edited by jason (12-02-2010 13:42:15)
Offline
That only happens the very first time you visit the site. If you look closely you'll see that all of the links are in SEO format after your initially visit your site.
The port number being used does not matter at all (and is not related to SEO).
Offline
Thank you for all the help guys.
Appreciated as usual.
Jason
Offline
nice .. good day
Offline
Pages: 1