Zen Cart Logo
Forums / Installing on a Windows Server / HTTP 500 on secure pages? FASTHOSTS hosting

HTTP 500 on secure pages? FASTHOSTS hosting

Locked

Views: 5,377

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
15 Mar 2007, 3:19 PM
#1
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

HTTP 500 on secure pages? FASTHOSTS hosting

I hope someone can shed some light on where to look for answer to this problem.

I am using Windows and have installed Zen Cart successfully and works perfectly without security, but as soon as I enable my shared SSL, I get the HTTP 500 Internal Server Error. This error is the only one I am getting, but its on all secure operations,eg. log in, checkout.

My secure URL's are correct, are there any common issues with Zen Cart running on a Windows SSL service, I should be aware of.

Would write permissions be an issue?

Many Thanks or any help in advance.

15 Mar 2007, 3:22 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Perhaps you could post your file:
/includes/configure.php

from the server, without your username and password ... and we can try to see what is up ... :smile:

15 Mar 2007, 3:29 PM
#3
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Thanks for your quick reply. Please find my /includes/configure.php below.

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.elitefeetrunning.co.uk');
define('HTTPS_SERVER', 'https://vault2.secured-url.com/hannah');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', 'https://vault2.secured-url.com/hannah');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '//nas34ent/domains/e/elitefeetrunning.co.uk/user/htdocs/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

Many Thanks for your help.

15 Mar 2007, 3:32 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Well ... for starters:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', 'https://vault2.secured-url.com/hannah');

Should be:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

Assuming that your Catalog is in the root of your site ...

15 Mar 2007, 3:48 PM
#5
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Thanks for pointing that out, I have changed that one and I still get the same error.

Does anything else stand out in my configure.php as being incorrect?

Thank you.

16 Mar 2007, 10:42 AM
#6
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Just wanted to leave some more information regarding my problem and whether this helps with the resolution.
My host is Fasthost, do they usually work ok with Zen Cart?:down:

17 Mar 2007, 4:12 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

What does your hosting site say about this issue?

Are you able to load a test.html to your main directory and reach it with:
https://vault2.secured-url.com/hannah/test.html

Are you able to reach it with:
http://www.elitefeetrunning.co.uk/test.html

If you cannot reach it with the secure URL then there is something wrong with your site's setup for secure pages or that is not your secure URL ...

17 Mar 2007, 4:15 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

For the test.html make the content:

<html> <body> Hello world via html </body> </html>

Then try a file called test.php with the content:

<?php
echo 'Hello World via php';
?>

And test the php file with:
https://vault2.secured-url.com/hannah/test.php

Then are you able to reach it with:
http://www.elitefeetrunning.co.uk/test.php

19 Mar 2007, 4:27 PM
#9
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Thank you ever so much for your reply, I have done what you suggested and I am able to reach both:

And test the php file with:
https://vault2.secured-url.com/hannah/test.php

Then are you able to reach it with:
http://www.elitefeetrunning.co.uk/test.php

Can I just check on what the content should be in the SSL folder it seems this is the problem now.
When I go to a secure page I am being directed to /zc_install/index.php

This is now getting a little confusing. Why isn't the SSL selecting the correct pages?

Thanks in advance for any help.:unsure:

19 Mar 2007, 5:26 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Either you have to manually maintain 2 directories, one for non-secure and one for secure pages ...

Or, your site is not setup correctly ...

Contact your hosting site and ask why your secure pages cannot see the same files that your non-secure pages can ...

22 Mar 2007, 11:42 AM
#11
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Thank you very much for your replies, it has got me going in the right direction.

I have spoke to my hosting site over the past few days and they say this:

The SSL space and your nomal webspace are handle completely independently. They are on completely different servers.

and

You should only need to install the secure payment pages on the SSL server, I would advise contacting the developers with regrds to configuring this.

I hope this makes sence. Please can you help advise on what files should be dropped into the SSL space so that I am not always directed to the install pages of the site content? :blush:

Thanks again.

23 Mar 2007, 4:03 PM
#12
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

I have asked Fasthosts about installing zen cart in the SSL space and what physical path to use, there response is below:

I am afraid that since the SSL space is on a different server, you will not be able to use the physical path from your webspace. You will have to use https:// references to the files in the SSL space. Most shopping cart software provides an option for the URL to the secure space. If your cart does not do it this way, and requires a physical path to access it, then it may well not work without modification.

Please help, any suggestions would be much appreciated.
Thanks

23 Mar 2007, 6:48 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

If your server is setup right and uses symbolic links for the secure and non-secure properly this is not a problem ...

If you could post, from the server ... without your username and password ... the file:
/includes/configure.php

we could check to see if you have any errors in your configuration ...

24 Mar 2007, 1:57 PM
#14
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Thanks for your help again, my /includes/configure.php file is posted below.
Please note that the secure foldername has changed from hannah to vienna.

define('HTTP_SERVER', 'http://www.elitefeetrunning.co.uk');
define('HTTPS_SERVER', 'https://vault2.secured-url.com/vienna');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '//nas34ent/domains/e/elitefeetrunning.co.uk/user/htdocs/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

Hope you can find a possible fix. thx

24 Mar 2007, 2:01 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTTP 500 on secure pages? FASTHOSTS hosting

Are you sure this is the correct path?
define('DIR_FS_CATALOG', '//nas34ent/domains/e/elitefeetrunning.co.uk/user/htdocs/');

And do you have 2 directories for secure and non-secure and if so, does the secure directory contain a copy of all files?

24 Mar 2007, 9:53 PM
#16
efeet avatar

efeet

New Zenner

Join Date:
Mar 2007
Posts:
9
Plugin Contributions:
0

Re: HTTP 500 on secure pages? FASTHOSTS hosting

define('DIR_FS_CATALOG', '//nas34ent/domains/e/elitefeetrunning.co.uk/user/htdocs/');

This is the Web Site Path that Fasthosts has given me. Does this not look right to you?

I do have 2 directories, one non-secure and one secure and yes the secure directory does contain a copy of all the files.