Getting hostname from FQDN as variable in config file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Getting hostname from FQDN as variable in config file
- From: sebb <sebbaz@xxxxxxxxx>
- Date: Thu, 10 May 2018 14:56:34 +0100
- Reply-to: users@xxxxxxxxxxxxxxxx
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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]