K
K
kisaserv2017-03-31 15:48:02
Apache HTTP Server
kisaserv, 2017-03-31 15:48:02

Owncloud is available via both HTTP and HTTPS at the same time. Why is that?

Hello.
For Owncloud, you need to open access only via HTTPS, which I did in one instruction.
Enter in browser HTTP(!!!)://server ip/ index.php/apps/files/ - OPEN VIA HTTP
Enter in browser HTTPS(!!!)://server ip/ index.php/apps/files/ - OPEN ON HTTPS.
What am I doing wrong with the HTTPS setting?
I'm afraid to leave HTTP open.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2017-03-31
@zooks

Write a redirect in .htaccess:

RewriteEngine On
RewriteBase /

RewriteCond %{SERVER_PORT} !^443
RewriteRule (.*) https://example-domain-please-change.com/$1 [R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question