servername and Serveralias

Giganews Newsgroups
Subject: servername and Serveralias
Posted by:  Swifty (steve.j.swi…@gmail.com)
Date: Fri, 29 Jul 2011

If you have a VirtualHost with both a servername and a serveralias is
there any way of specifying a directive which applies only to the
ServerAlias?

We have a pair of VirtualHosts whose definition is identical, apart
from one line, which needs to be in the Serveralias and missing from
the ServerName

I know we could fiddle with include files, but I was just wondering.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk

Replies