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:

/var/test/NAME.example.com

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to