1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

HTTP and HTTPS seperate folders in Oscommerce

Discussion in 'Plesk for Linux - 8.x and Older' started by macd, Oct 20, 2005.

  1. macd

    macd Guest

    0
     
    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. cmurphy@

    cmurphy@ Guest

    0
     
    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
     
Loading...