VirtualHost if elseif else

stefantriep

Verified User
Joined
Dec 15, 2012
Messages
65
Location
Haarlem, The Netherlands
Hi all,

I'm trying to figure out a customization for the VirtualHost
Got already a custom one for 1 domain loading an other docroot. But try to have multiple domains with different docroots.

Can I implement something like this?

|*if DOMAIN="domain.com"|
#custom item for just this domain
|*elseif DOMAIN="domain.co.uk"|
#custom item for just this domain
|*else|
#custom for the rest of the domains
|*endif|
 
Back
Top