Results 1 to 4 of 4

Thread: Secure Site help

  1. #1
    Senior Member RayC's Avatar
    Join Date
    Apr 2010
    Location
    Toronto-ish, Canada
    Posts
    1,724

    Default Secure Site help

    I need a little help from those wiser than I am. I have a client trying to convert a site to SSL published using NOF2015. I've read through this thread, but the hosting company seems to do things a little differently.

    There are TWO different root folders:

    /webspace/httpdocs/
    and
    /webspace/httpsdocs/

    I'm presuming it wants the site to reside in the /httpsdocs/ folder, but this is messing up a script since the path is different.

    Also, I cannot even download the .htaccess file to look at, never mind editing it.

    Can anyone enlighten me on what is going on, and how I can painlessly make this conversion?
    Last edited by gotFusion; 4 Weeks Ago at 02:31 PM.
    Ray Cambpell
    Sounds In Sync
    Linked in

  2. #2
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,515

    Default

    Quote Originally Posted by RayC View Post
    I need a little help from those wiser than I am. I have a client trying to convert a site to SSL published using NOF2015. I've read through this thread, but the hosting company seems to do things a little differently.

    There are TWO different root folders:

    /webspace/httpdocs/
    and
    /webspace/httpsdocs/

    I'm presuming it wants the site to reside in the /httpsdocs/ folder, but this is messing up a script since the path is different.

    Also, I cannot even download the .htaccess file to look at, never mind editing it.

    Can anyone enlighten me on what is going on, and how I can painlessly make this conversion?
    The "normal" was is to edit the existing .htaccess file and force all pages https which is a simple few lines of code.

    If the host does things "differently" you need to ask them what they want/need before assuming "normal" is normal.
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  3. #3
    Senior Member RayC's Avatar
    Join Date
    Apr 2010
    Location
    Toronto-ish, Canada
    Posts
    1,724

    Default

    Apparently the hosting company has been a little less than helpful in this.

    My googling indicates they are likely using something called Plesk and there is a way to configure it to use just the single folder. By default it is set to serve "secure" pages from one directory and other pages from the other directory. I've recommended trying to re-configure to a single directory, or asking the hosting company (MyHosting.com) to do it.
    Ray Cambpell
    Sounds In Sync
    Linked in

  4. #4
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,515

    Default

    Since you have access to Plesk you should be able to edit .htaccess via the file manager.

    I use WHM/cPanel as my Linux control panel so google foo to get me what you need to use with Plesk

    https://www.google.com/search?q=ples...nt=firefox-b-1

    This will give you the info you need to view end edit the hidden files (.*) using the control panel file manager

    Once you can see the hidden files you can edit .htaccess. IF there is NOT one, create one.

    I tell my hosting customers to use this simple force https script unless they have specific needs outside of every URL being shown as https (you do need to change example.com reference to the actual domain name)

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^example\.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]


    Do this first. If all pages display https, you're done

    If not, try making a 301 redirect for the "secure public_html folder" to the one containing the content.

    IF that does not work

    Go back and fight some more with your current host.


    Or you could RTFM https://docs.plesk.com/en-US/12.5/cu...esk-125.66329/

    That is Plesk 12. I believe there is a newer version (onyx).

    Find out which version is currently running and see if there is something in the Plesk docs to point you to the correct answer.

    .
    Last edited by gotFusion; 4 Weeks Ago at 02:00 PM.
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •