Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Https redirect does not work

apache

Started by Wolf 8 years ago · 3 replies · 999 views
8 years ago

Sorry for asking a common question, but I could never get along with is...

I could never make https redirect work on my installation - allthough I even asked a professional. The setup should be pretty vanillia - maybe exept that the ssl certificate is not issued for the domain (trolink.de), but for the server name (which is something like hb07s022.org-dns.com)

I never understood how the two .htaccess files in httpdocs and httpdocs/grav do interact, so here are both of them:

Here is httpdocs/.htacces:
https://www.dropbox.com/s/m4e8y0zjazewqjp/httpdocs-dot-htaccess.txt?dl=0

And this httpdocs/grav/.htacces:
https://www.dropbox.com/s/5zbml09piqga2a4/httpdocs-grav-dot-htaccess.txt?dl=0

Would someone be so kind and have a look?

Cheers,
Wolf

last edited 07/10/18 by Wolf
8 years ago

Dropbox doesn't allow previewing .htaccess files.

The fact that your certificate is not issued for the domain you're trying to secure is a deal breaker. What exactly are you trying to accomplish?

8 years ago

Now you should be able to see the files.
What I want is just vanilla - get https connections to my site, which never worked.

Now I learned that e.g. I cannot access plesk by <mydomain>:8443, but only this style:
hb07s022.org-dns.com:8443; the man in charge told me that the certificate thing is the reason.

Now I wonder whether this may be the reason for my problem as well? - Or do we find another clou?

8 years ago

If your certificate does not match the actual domain, it will never work. You can buy a single cert that covers multiple domains. Or you can use things like wildcard certs from LetsEncrypt. But that's the first thing you need to resolve before looking at anything else.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 16 hours ago
5 62 10 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 63 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 63 8 months ago
Installation & Hosting · by N, 12 months ago
3 74 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 62 1 year ago