• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

has anyone experienced this???

M

modom

Guest
I have the oscommerce ecommerce store installed and the code turned on to work with ssl.

I have vhost_ssl.conf files setup and is correct.

The problem is whenever I go into the oscommerce store admin via https:// and click on any link it always takes me back to http:// and will not stay in the ssl mode https://

Is this a problem with the oscommerce store code or something that may be wrong in the conf files for ssl?

Thanks!
 
During the installation, did you specify the httpdocs or httpsdocs folder for the install?

Other than the post-installation of turning on the SSL code in the config...

I would manually check the /home/httpd/vhosts/domain.com/httpsdocs/... folder to make sure the osCommerce files are there, and *not* in the httpdocs folder.

One other thing, did you maybe turn on the domain feature in Plesk 'Use a single directory for housing SSL and non-SSl content' ??

When I install osCommerce, I always specify the httpsdocs directory, then I make sure none of the files are present in the httpdocs directory, just to be sure.
 
Hi,

I have this turned on 'Use a single directory for housing SSL and non-SSl content' so it's using a single directory.

I do not install it from the application vault but do a free install and the configure.php files are turned on for ssl.

Are you saying to put all the files in the httpsdocs folder instead of the httpdocs folder if you are using one directory for housing ssl and non-ssl content?

I would want people to access the first page with http:// and not go into ssl until they start to checkout.
 
When I setup a shopping site, I put everything on SSL, not just the checkout. But that's just my preference.

I don't remember the specific details from when I tested the 'Use single directory', all I remember was that there was something I didn't like about it.

I leave the option open to be able to put different stuff in the SSL vs non-SSL if I choose. For an osC site, I would normally put a redirect index.html/php file to redirect to the SSL site automatically. That way the customer would browse to the http: and end up automatically at the https:, or I can have a non-SSL index page with a link to the shopping site if I choose, that way I don't have to reconfigure using the Plesk CP (which would end up overwriting anything I may have put into the conf files!)

I install all the software to *only* the SSL directory structure, that way I know for a fact that it's being handled properly.

This is just *my* preference for doing things. Each admin can play with the different options and decide what they like best.
 
sounds like the define statement for the secure address is wrong in the /admin/inlcudes/configure.php file

look in this file and see what the define statement for the secure admin folder is. it should be set to https://www.domain.com/admin and you may have this set to http://

this would cause the osc admin to automatically redirect back to http
 
Back
Top