Forum

RequireTLS and RequiredBinding not allowed outside VirtualHost section

Joli
5 September 2017, 01:02
Is there any way to use RequireTLS for the default website?
Hugo Leisink
5 September 2017, 19:39
Not via the Hiawatha configuration. An option is to only open port 443.
Joli
8 September 2017, 14:22
Okay, this could be an option, but then i get an error, when i call via http
I've found an older thread in this forum, where you describe how to remove the limitation. -> https://www.hiawatha-webserver.org/forum/topic/631
Is there a way to modify the sourcecode to remove the limitation?
Hugo Leisink
8 September 2017, 15:46
The check is done at line 1003 of src/serverconfig.c.
This topic has been closed.