httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Norton <>
Subject [users@httpd] Virtual Host ServerAlias Question
Date Sun, 20 Jun 2004 17:03:40 GMT
Hello all:

I am running Apache 2.0.48 and have the following vhosts.conf name based entry:

    DocumentRoot /path/to/document/root/ 

I thought this would only allow and to served by apache out of
the Document Root.
Apparently this is not the case. Any DNS alias such as are also served by

What do I need to do to make Apache only serve out and
Can I use some sort of regexp or such on the ServerAlias line? Or...?

My DNS entries look this ( not sure if this matters much ):

hosting                 IN      A 
mail                    IN      A 
ns                      IN      A 
www                     IN CNAME        hosting
webmail                 IN CNAME        hosting
ftp                     IN CNAME        hosting
main                    IN      A   IN      A 

Thanks for any help,

Jim Norton -

"The art of listening is indispensable for the right use of the mind.
It is also the most gracious, the most open and the most generous of
human habits."
(Attributed to R. Barr, St. John's College, Annapolis, MD)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message