• 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

HTTP and HTTPS seperate folders in Oscommerce

M

macd

Guest
Hi all is it me or is this terrible, that Plesk installs Oscommerce great but functionality is limited on your host cause Oscommerce dosent like seperate HTTP and HTTPS folders ?? I posted something on the Oscommerce forum and had this response from someone.

" It's a rubbish system, and means that you have to duplicate all files and folders from the httpdocs folder in the httpsdocs folder. Any changes you make to one set of files you have to make to the other, and it's quite handy from your hosting company's point of view because you have to double the amount of webspace your site uses just so that you can have ssl on your site.

It is possible to make Plesk run with just one folder, but most hosting companies either don't know how to do it or just plain don't want to do it".

Plesk techies help how can i resolve this without installing in both directories..... Ahhhhh :confused:

Would be good if a Plesk techie could email me set up in plesk or tell the most effective way.

Regards
 
2 methods...

1. symlink the httpdocs and httpsdocs folders.

to do this log into ssh
cd domain.com
make sure sites httpsdocs folders is empty
rm -r -f httpsdocs
ln -s htpdocs httpsdocs
chown -R username.group httpsdocs


now there is a symbolic link for httpsdocs. In your oscommerce configure.php files use the correct paths.

for secure use /home./httpd/vhosts/domain.com/httpsdocs

If you need more help contact me
 
Back
Top