PDA

View Full Version : OSCommerce install


dixiew00
03-26-2004, 09:09 PM
Has anyone installed an OSCommerce site on this server and if so do you have any tips and or tricks to getting the SSL to work properly with it?
I am puchasing a quickSSL from geotrust.
It appears that all of the files must go into the private_html folder which is out of the ordinary from other servers that I have installed OSCommerce on in the past.

Thanks for any advice.

Joe

existenz
03-27-2004, 09:02 AM
public_html is just the root folder. And we have few customers running OSCOmmerce. It is a really easy script to install. Nothing special to know but I think the index is a pain to modify since you need to edit inside the php code.

dixiew00
03-27-2004, 09:29 AM
I have placed all of the the osCommerce files into the private_html folder and all of the "https" pages work ok but the non secure "http" linked pages are broken unless you add the "s" to the "http". I have not installed my own trusted cert yet for this site but the servers script is functioning ok.
I have had other osCommerce sites up and running but the servers always used the public_html folder...even for secure pages.
See it in action at http://www.countryherbstore.com.
(forgive the graphics as this is a work in progress).
You have to place the "s" after http to get the index page to load and then allof the secure login and checkout pages will come up ok but the non secure pages are broken. Adding teh "s" to the http on the broken pages brings them back to life with the lock icon.
I dont mind the entire site being secured so if there is a way to secure all the pages that would be fine.

Joe

ProWebUK
03-27-2004, 09:46 AM
You can symlink the private folder to the main html folder and upload 1 copy of the script....... theres a guide here: http://directadmin.com/forum/showthread.php?s=&threadid=1630&highlight=privatehtml+symlink

As a note, since you said the script is in private html... move it to public html BEFORE you remove the directory (unless you already have a copy in public_html

Chris

dixiew00
03-27-2004, 10:21 AM
Thanks Chris...will give it a try tonight.
Is there some guidance for the symlink setup in the help pages?

Joe

ProWebUK
03-27-2004, 10:26 AM
just cd into the domains directory then follow the guide on the link i provided:


cd /home/username/domains/domain.com/
mv ./private_html ./private_html_old
ln -s ./public_html ./private_html


(note, you can use "rm -rf private_html" instaed of the mv command if you do not wish to backup the directory)

Chris

dixiew00
03-27-2004, 10:34 AM
Sorry for my newbieness here...what does the cd in "cd into the domains directory" mean?
Am I pasting this code in from the actual domains control panel or from the reseller panel?
Some of the terms used in these posts are quite foreign to me...I catch on fast once ya get me rolling.

Appreciate the help so far.

Joe

ProWebUK
03-27-2004, 10:48 AM
if you do not have SSH access you will be required to get your host to do this for you.... (providing your a reseller)

Chris

dixiew00
03-27-2004, 11:07 PM
SSH is turned off so I will request they turn it on.
Then I assume I will have access to tweak as you noted?