OSNewbie Posted December 5, 2002 Share Posted December 5, 2002 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? Thanks Link to comment Share on other sites More sharing options...
kagg Posted December 5, 2002 Share Posted December 5, 2002 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. Kagg Link to comment Share on other sites More sharing options...
grizzly Posted December 5, 2002 Share Posted December 5, 2002 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 More sharing options...
OSNewbie Posted December 5, 2002 Author Share Posted December 5, 2002 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 More sharing options...
grizzly Posted December 5, 2002 Share Posted December 5, 2002 Which warning box are you talking about Link to comment Share on other sites More sharing options...
kagg Posted December 5, 2002 Share Posted December 5, 2002 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. Kagg Link to comment Share on other sites More sharing options...
tammy Posted April 9, 2003 Share Posted April 9, 2003 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 </IfModule> </Directory> 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. cheers. Tammy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.