Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Shared SSL issue and Plesk

Shared SSL issue and Plesk

Locked

Views: 5,337

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
11 Aug 2006, 14:55
#1
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Shared SSL issue and Plesk

I've installed Zen Cart via FTP. After, in configure.php (and in the admin version) I've put in the path to the Virtual HTTPS Server. Now, when the "log yourself in" link is clicked on the homepage I receive this (example):

The requested URL /secure_folder/another_folder/index.php was not found on this server.

I've read that some hosts require Zen Cart to be installed on the secure server as well. Does this sound like the issue?

Best regards,

Patrick

11 Aug 2006, 16:42
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Shared SSL issue and Plesk

Yes, in this case you will need a complete clone of your site in SSL.

11 Aug 2006, 16:50
#3
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Thanks for that. But why "in this case"?

Patrick

11 Aug 2006, 16:58
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Shared SSL issue and Plesk

you have a secure folder and a non secure folder,

11 Aug 2006, 17:58
#5
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Well... the initial upload was to a non-secure server, like most, I imagine. And as far as I can tell, most Zen Cart sites are like this, and all they do is to add the URL for the HTTPS_SERVER in the configure.php files when they require a secure checkout. So why in my case do I need two versions of the install? This doesn't seem feasible.

Patrick

11 Aug 2006, 18:30
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Shared SSL issue and Plesk

OK,

If you are using a control panel like PLESK,
it has 2 seperate folders
1 for NON secure documents
1 for NON secure documents,

you showed a server path that says secure site

the folks that only have to do a single folder install are the ones with cpanel and such that have a SINGLE folder and can serve both ports this way

11 Aug 2006, 18:35
#7
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Ah, okay. Thanks again. Is there a similar restriction with a dedicated SSL, where the secure pages would be h*tps://domain.com?

Patrick

11 Aug 2006, 19:07
#8
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Shared SSL issue and Plesk

that depends ON the server setup you have
the setup of SSL for your server is a question to ask your host,

all are setup a little different,

11 Aug 2006, 19:37
#9
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Thanks for the replies.

Best regards,

Patrick

13 Aug 2006, 17:00
#10
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Even that tired old workhorse Plesk can be set up so that you only need to use one folder for both http and https, but on most occasions:

  1. The hosting company doesn't know how to do it
  2. They don't care to do it because it doubles your disk space usage and brings you that much closer to a need to upgrade.

Vger

14 Aug 2006, 09:13
#11
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Vger:

The hosting company doesn't know how to do it.

This is the case, I think. We are looking at a dedicated SSL - will this solve the problem?

Regards,

Patrick

14 Aug 2006, 09:23
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shared SSL issue and Plesk

pcmt:

This is the case, I think. We are looking at a dedicated SSL - will this solve the problem?
If you're staying with that host, then get them to guarantee that it will before spending any money. If they can't, then ... start shopping on our "Certified Hosts" page (see link at the top of this site).

It's not hard to set up Plesk to share httpdocs and httpsdocs ... it's a little checkbox when creating a customer account/domain, but usually only the hosting company has access to it.
I don't recall whether it can be changed once the account is created.

14 Aug 2006, 09:51
#13
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Thanks for the reply.

It's a long story, but the host is a friend who "inherited" the server. We're both feeling our way with this.

Regards,

Patrick

14 Aug 2006, 10:37
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shared SSL issue and Plesk

pcmt:

It's a long story, but the host is a friend who "inherited" the server. We're both feeling our way with this.Fair enough. That said, perhaps you may want to explore that little checkbox ... it'll save you a ton of headaches.

14 Aug 2006, 11:08
#15
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

Plesk - httpdocs and httpsdocs

You need to create a vhost_ssl.conf file in
/home/httpd/vhosts/domainname.com/conf/
with directives pointing to httpdocs rather than httpsdocs
If your host is using Plesk, then you need to add a vhost_ssl.conf file to the conf directory of the site and point any reference to httpsdocs to httpdocs
e.g.

DocumentRoot /home/httpd/vhosts/site.com/httpdocs
<Directory /home/httpd/vhosts/site.com/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/site.com/httpdocs:/tmp"
</IfModule>
SSLRequireSSL
Options +includes +ExecCGI
</Directory>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/site.com/httpdocs:/tmp"
</IfModule>

Vger

14 Aug 2006, 18:52
#16
hbmike avatar

hbmike

New Zenner

Join Date:
Aug 2006
Posts:
1
Plugin Contributions:
0

Re: Shared SSL issue and Plesk

The check box is located under Setup in the domain control panel. The admin or client of the domain should be able to turn that on and off for the customer.