Jump to content
Sign in to follow this  

Apache (httpd) on Linux (Centos7): Cannot access Env Variables

Recommended Posts

Hi everyone,

Just wondering if anyone has any experience with Delphi 10.2.3/10.3 Apache Modules on Linux

request.GetFieldByName('Accept-Language') returns a valid value

request.GetFieldByName('HTTPS') is blank, whilst running on a HTTPS connection


We aren’t running any load balances and apache IS serving HTTPS content with SNI correctly


I’ve even adding to the virtual hosts SetEnv HTTPS on


Any ideas? Delphi Rio 10.3


Apache Config

<VirtualHost *:443>
SetEnv HTTPS on
ServerName the.domain.com
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /……(correct file)
SSLCertificateKeyFile /…….(correct file)
SSLCertificateChainFile /…..(correct file)

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this