versatilewt Posted July 21, 2005 Share Posted July 21, 2005 I am not a PHP or osCommerce newbie. I searched the forums under SSL but didn't have much luck. Here is my problem. If you take a basic look at my directory tree, it looks like this (shared server) /root/ - /public_html/ - /secure/ Where public_html is where basic documents go, and where secure is where all SSL protected docs have to go. Now, I understand the concept of the http and https URLs in osCommerce, but I don't know what I should do about this situation since the actual directory structures are different. Are there just certain files that I would place in secure? Or...? Any advice is appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2005 Share Posted July 21, 2005 I am not a PHP or osCommerce newbie. I searched the forums under SSL but didn't have much luck. Here is my problem. If you take a basic look at my directory tree, it looks like this (shared server) /root/ - /public_html/ - /secure/ Where public_html is where basic documents go, and where secure is where all SSL protected docs have to go. Now, I understand the concept of the http and https URLs in osCommerce, but I don't know what I should do about this situation since the actual directory structures are different. Are there just certain files that I would place in secure? Or...? Any advice is appreciated. Thanks in advance. <{POST_SNAPBACK}> Best way is to speak to your host first, 1)ask them if they can create a symbolic link for /secure/ which really points to /public_html/ if not 2)ask them if they can change the (assuming apache webserver here) document root in the httpd.conf file for your secure site (port 443) to point to the document root of your normal site. if this doesnt work you have 2 more options 1)find another host or 2)Maintain 2 copies of your site in both directories. Link to comment Share on other sites More sharing options...
♥Vger Posted July 21, 2005 Share Posted July 21, 2005 If this is a Plesk system you're pretty much stuck with the two folder system. Vger Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2005 Share Posted July 21, 2005 If this is a Plesk system you're pretty much stuck with the two folder system. Vger <{POST_SNAPBACK}> Not really I run a hosting server using Plesk (so know a fair bit about configuring for osCommerce with it). With Plesk you can create a vhosts_ssl.conf file which sits in /home/httpd/vhosts/yoursite.com/conf/ directory. You can add the same apache configuration directives to this file, therefore easy to point https directory to the http directory. However, I dont think it is Plesk (not a default installation anyway) as it uses httpdocs and httpsdocs as its directories. Link to comment Share on other sites More sharing options...
♥Vger Posted July 22, 2005 Share Posted July 22, 2005 With Plesk you can create a vhosts_ssl.conf file which sits in /home/httpd/vhosts/yoursite.com/conf/ directory Yes, I did know that - and that's fine if you own the server. But if you're on a shared server then you'd have to get your host to do it - and that's why I said they're probably stuck with the two-folder system. The two folder system is quite handy for hosts, because to run one website you have to double up on the amount of webspace it consumes - thus helping to bump you up to the next level of hosting! Vger Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2005 Share Posted July 22, 2005 Yes, I did know that - and that's fine if you own the server. But if you're on a shared server then you'd have to get your host to do it - and that's why I said they're probably stuck with the two-folder system. The two folder system is quite handy for hosts, because to run one website you have to double up on the amount of webspace it consumes - thus helping to bump you up to the next level of hosting! Vger <{POST_SNAPBACK}> Oh right, sorry. If thats the case versatilewt I would move hosts if they dont help you sort it out or fob you off with some poor excuse as to why they cant do it. Link to comment Share on other sites More sharing options...
versatilewt Posted July 22, 2005 Author Share Posted July 22, 2005 Thanks for the advice everyone, I talked to the tech support at my hosting company, and of course the first rep didn't know what I was talking about, so I am waiting to hear back from the tier-2 support. Link to comment Share on other sites More sharing options...
♥Vger Posted July 22, 2005 Share Posted July 22, 2005 so I am waiting to hear back from the tier-2 support. I would advise you that it would be bad practice to hold your breath while waiting for a reply from 'tier 2' support. Not to mention dangerous to health :D Vger Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2005 Share Posted July 23, 2005 I submit that if Tier1 support doesn't know the answer to that question, then Tier1 support is for really really simple questions (or they don't have much expertise in their support department). -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.