Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Oscommerce on Plesk?


Recommended Posts

Is anybody on the forums running OS 2.2 on a Plesk based server? (V 2.5.3) and is also using a shared ssl to process orders?


The catalog and admin upload seem to be fine, but when the cart switches to checkout (on the shared ssl: https:host.seucre.com/~mydomain) it just shows the "Page Not Found" error. I have tried to upload just the cart php pages to my ssl space, with out success. I also tried to upload all the files to the ssl space and again, this did not work.


Anybody running this on Plesk with any success?



Link to comment
Share on other sites

You can do it in two ways:


1. If you have the root access to the server then you can do the following:


Delete httpdocs directory.

Create a symolic link named httpsdocs pointing to httpdocs.



2. You may also copy all the folders in httpdocs.



Link to comment
Share on other sites

I take it that you have the same as me two dir's on the server side one called httpdocs ( non ssl ) and httpsdocs ( ssl ).


If so what you have to do is make sure that you get the shop working the way that you want and everything is working alright on the non ssl side of things first. Then what you do is download the hole shop in the same folder layout as in the httpdocs and upload it to the httpsdocs on the server side. You also have to make sure that the two configure.php files have the ssl set to true.


This works for me but the only thing that you have to do from then on is that if you upload graphic files ie. .gif .jpeg to the shop you will have to put the same file in the images dir on the https side as well then the hole thng will work alright.


Hope this helps.

Link to comment
Share on other sites

Thanks for the replies. Firstly, Ill look into the symbolic link http-https. I do have 2 dir yes, http and https, however, I am not using this https doc directory in my FTP, but rather the hosts shared ssl, which is something like https://host.sercure.com/~mydomain. The only problem using my own https directory is that the warning box appears, which is off putting for any potential customers.

Link to comment
Share on other sites

Oops, sorry OSNewbie, there was a typo error in my last post, To create a symbolic link, you have to delete "HTTPSDOCS" directory. then create symbolic link named https to http which can be done only from the root of the server(your host can do this).


The warning box, I think you were talking is because of shared SSL which says you were redirecting to secure server.....etc. To avoid this box you have to buy SSL certificate for your site.



Link to comment
Share on other sites

  • 4 months later...

Just thought I would drop this information in here. I had our server administrator set up our plesk server to work with oscommerce. The issue being that the httpdocs and httpsdocs folders were separate.

Another issue we had was that our security certificate was actally on a different domain then the one we were setting up oscommerce on.


The catalog is on unsecuredomain.com

the ssl is on domainthatssecure.com


Here is the Apache hack that made it work for us:



In /home/httpd/vhosts/domainthatssecure.com/conf add a vhost_ssl.conf file.

In that file put this:

Alias /catalog/ "/home/httpd/vhosts/unsecuredomain.com/httpdocs/catalog/"

<Directory "/home/httpd/vhosts/unsecuredomain.com/httpdocs/catalog">

Options None

AllowOverride None

Order allow,deny

Allow from all

<IfModule mod_php4.c>

php_admin_flag engine on




Then run: /usr/local/psa/admin/sbin/my_apci_rst

Then run: /etc/rc.d/init.d/httpd configtest (to make sure you have no errors)

Then run: /etc/rc.d/init.d/httpd restart.


I am just passing on the info, can't really answer any questions, but hope it helps someone else.

Please note that this solution is for a hosted domain on the plesk server, not a web user: (/~webuser); I'm not sure if it will help a webuser situation.




Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...