• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Apache Modules > mod_vhost_alias

19.38. mod_vhost_alias

The mod_vhost_alias supports the dynamic configuration of document roots and script directories for virtual hosts. This functionality is useful when a server handles a large number of virtual hosts, usually by varying the subdomain sections of the hostname. Virtual hosts configured under the directives of this module are expected to share the same configuration since they won't have their own <Virtual Directory> sections.

The name of the virtual host is determined by the Host: header in the client request. (This requires UseCanonicalName off.) The IP address is the address assigned to the particular virtual host. The directives of this module use either the host name or IP address and interpolate it to locate unique document and script paths for each host.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint