Re: [CentOS] Virtualhost, Alias & Subdomains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Could I skip the alias part and enter:
ServerName www.subdomain.domain.com subdomain.domain.com
subdomain.altdomain.com www.subdomain.altdomain.com


No. You get one ServerName directive, but you can have multiple
ServerAlias entries.
See http://httpd.apache.org/docs/2.0/vhosts/name-based.html and
http://httpd.apache.org/docs/2.0/mod/core.html#serveralias

--
This message has been double ROT13 encoded for security. Anyone other
than the intended recipient attempting to decode this message will be
in violation of the DMCA
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux