sigzag Posted March 27, 2004 Share Posted March 27, 2004 I have had to move my osCommerce site to a new server and am having some problems figuring out how to get the SSL to link properly. This server requires that all files be placed in a domains/www.mysite.com/private_html folder for the SSL to work. The problem is that I have to place the "s" after http to get the index page to come up. Once on the index page the only pages that will work properly are the secure pages...such as the login page and checkout page. All others revert back to the http link which cant be found due to broken links. Is there a fix for this type of problem? Any help is appreciated. Thanks, Joe :( Link to comment Share on other sites More sharing options...
etepalusip Posted March 27, 2004 Share Posted March 27, 2004 Does your domain have an SSL certificate? Looks like [removed] has pretty decent support in their faqs (directions specifically for ensim or plesk servers) and irc channel and forum. Link to comment Share on other sites More sharing options...
sigzag Posted March 27, 2004 Author Share Posted March 27, 2004 Yes, there is an untrusted temp SSL cert currently installed on the server. The https pages come up and have the lock icon ok but now any of the normally non- secure pages (http) have broken links...even in the admin section. I will puchase my own SSL cert this week but I will get the same results i believe. I must log into the site with the "https" prefix to get the site index page to come up but then only the few pages work as noted previously. You can check it out at www.countryherbstore.com. Try it with and without the https prefix. For the pages that dont load...if you add the "s" to the http they come up just fine. Forgive my graphics as the site is indevelopment and not complete yet. Thanks, Joe Link to comment Share on other sites More sharing options...
AlanR Posted March 27, 2004 Share Posted March 27, 2004 I will puchase my own SSL cert this week but I will get the same results i believe. Probably not. To provide ssl to you they'll have to give you a unique IP and most likely you won't need a special secure folder. I'm not real clear on how [removed] is set up but it's the cheap hosting from the dixiesys guys and they're pretty good. They'll help you out. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
♥Vger Posted March 27, 2004 Share Posted March 27, 2004 If you can only access your index.php page from the https connection then you've got it set up wrong in includes/configure.php! That's my educated guess. Vger :) Link to comment Share on other sites More sharing options...
sigzag Posted March 28, 2004 Author Share Posted March 28, 2004 I have already purchased an IP for this site that resides on its own. The problem is that the private_html folder that they require you to put all of the files in is the secure SSL folder...thus the links for most of the pages are looking for http://mysite.com when the files are actually in https://mysite.com. They are working with me on a way to allow the files to reside in the public_html folder, but isn't there a way to relink the non ssl pages so that they can be found...even though all of the pages in the site will be secure? Joe Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 Just put a complete set of files in both locations. That way osC can find them when it needs them. It's kind of a pain when you want to change thme but you're stuck with it as long as they run the servers that way. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
sigzag Posted March 29, 2004 Author Share Posted March 29, 2004 Thanks Alan...I actually just tried that prior to checking these posts today. Seems to work OK but would be a pain to maintain. Someone from the hosting forums said that they can rescript for me to allow use of the public_html folder only...haven't gotten a replay back yet from them. Will post the final fix once complete. Thanks again, Joe Link to comment Share on other sites More sharing options...
AlanR Posted March 29, 2004 Share Posted March 29, 2004 Switch hosts. There's quite a few good ones that don't use that system. Tell them that the service is not up to the task and ask for a refund. Most hosts are offering a 30 money back guarantee these days. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
sigzag Posted April 1, 2004 Author Share Posted April 1, 2004 I found that my hosting provider cannot or will not allow SSL security in the public_html folder. Like Alan said...I have uploaded two copies of teh site, one in public_html and one in private_html. Everything works as advertised and upkeep isn't really that bad...you just have to make sure to update both folders each time. Thanks for all the input. Joe Link to comment Share on other sites More sharing options...
sigzag Posted April 29, 2004 Author Share Posted April 29, 2004 OK...one last problem now. When I upload images in the admin panel they are still placed in the unsecured includes/images folder. This allows for viewing of the pictures on the website but the image links in the admin panel are broken. Is there an easy change to the script in the secure admin side so that it looks for the images on the unsecure side? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.