httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [users@httpd] Getting hostname from FQDN as variable in config file
Date Thu, 10 May 2018 13:56:34 GMT
Is it possible the access the hostname part of a FQDN in a config file?

For example, suppose the config has the following condition:

<If "-d '/var/test/%{HTTP_HOST}'">

This might resolve to a directory such as:


Is there a way to resolve just the initial part of the host, i.e. NAME?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message