Force SSL in pydio

Discussion in 'ISPConfig 3 Priority Support' started by Galopete, Nov 27, 2013.

  1. Galopete

    Galopete New Member

    Hello
    I have installed pydio (cloud files soft) under my domain, e.g. mydomain.com/pydio (installed by hand using a ftp client), how can i force ssl connection when i access mydomain.com/pydio?

    I have ubuntu server 12.04 with ISPconfig, and SSL properly configured.

    Thanks.

    Abraham
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use apache or nginx webserver?
     
  3. Galopete

    Galopete New Member

    Hello Till,
    I'm sorry, i forget to tell wich server i'm using. I't is apache.
    Regards,
    Abraham
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Add a .htaccess file in the pydio directory (or edit the one if there is one already) and add this code at the beginning:

    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
     
  5. Galopete

    Galopete New Member

    Many thanks, Till

    It works fine!

    Regards,
    Abraham
     

Share This Page