Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

SSL and files where i have httpdocs and httpsdocs on my hosting
 
billh
Member
 
Total Posts:  34
Joined:  2009-04-28
 

Hi All,

I am getting ready to set up ssl for my site, i have two directories at the moment. httpdocs is where magento is currently installed. my host has told me that i need to place any files with much be secured by ssl into the httpsdocs directory.

How do i do this? will this break my site?

 
Magento Community Magento Community
Magento Community
Magento Community
 
hydra
Guru
 
Avatar
Total Posts:  378
Joined:  2008-08-26
Amsterdam
 

Hi,
I think you should ask your hoster to create a symbolic link to your httpsdocs directory.
It is not the files that are secured by ssl but the session traffic.
I see no need to have separate directory’s for http and https, it only complicates things.
.

 
Magento Community Magento Community
Magento Community
Magento Community
 
billh
Member
 
Total Posts:  34
Joined:  2009-04-28
 

Thanks Hydra - i take it then that i do not have to place any files in httpdocs?

 
Magento Community Magento Community
Magento Community
Magento Community
 
hydra
Guru
 
Avatar
Total Posts:  378
Joined:  2008-08-26
Amsterdam
 

Hi Billh.
No you should not have to put files there but if they insist, and you do not want to change your hosting provider, you could copy your index.php and .htaccess files to httpsdocs
After that edit index.php so that it can find Mage.php from the new location.
That should work to (i think smile )
.

 
Magento Community Magento Community
Magento Community
Magento Community
 
billh
Member
 
Total Posts:  34
Joined:  2009-04-28
 

Thanks Hydra, thats sorted!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rondk12
Jr. Member
 
Total Posts:  3
Joined:  2013-08-08
 

I do this and i dont get the checkout page in secure.
please help me.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top