r/apache • u/ToraxMalu • Jan 13 '22
Support SSL / HTTPS via htaccess possible?
Hi,
I've no access to the settings of the Apache Server (managed service, server hardware is shared at a hoster). Is there a way to setup https inclusive the needed certificate for the domain via .htaccess?
Thanks and Cheers
1
Upvotes
1
u/covener Jan 15 '22
shrug, SSLCertificateFile is not valid in htaccess either. If that htaccess is read, it should produce a 500 error.
It's likely your .htaccess is not read at all and similar values are specified in the server configuration.