Search…

X3 Photo Gallery Support Forums

Search…
 
jafcor
Topic Author
Posts: 20
Joined: 23 Dec 2009, 16:25

Como configurar para redirigir el http a https?

28 Aug 2018, 14:52

He complementado mi servidor con el certificado de seguridad pero no se como puedo redirigir desde "X3 Photo Gallery" el http al htpps.

Gracias
 
User avatar
mjau-mjau
X3 Wizard
Posts: 11675
Joined: 30 Sep 2006, 03:37

Re: Como configurar para redirigir el http a https?

29 Aug 2018, 02:40

Lo siento, no hablo español, pero aquí está la respuesta en inglés.

There are two ways:

1.  Go to Settings > Advanced > Force URL.
Write the URL with https://, so that the X3 app will always redirect to https version.
Image

2. .htaccess

This is more complicated, but will redirect ALL requests to https directly from your server. Add the following to your root .htaccess file. This file is often "hidden" from your FTP editor, so you may need to adjust settings.
Code
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
It should normally work. If not, there are a few other suggestions here:

https://www.askapache.com/htaccess/http ... write_Code
 
jafcor
Topic Author
Posts: 20
Joined: 23 Dec 2009, 16:25

Re: Como configurar para redirigir el http a https?

29 Aug 2018, 06:54

Muchas Gracias!!!
 
jafcor
Topic Author
Posts: 20
Joined: 23 Dec 2009, 16:25

Re: Como configurar para redirigir el http a https?

29 Aug 2018, 06:57

La primera opción ha ido de maravilla. Perfecto!!! Gracias!!!