Penguin
Diff: NameVirtualHosting
EditPageHistoryDiffInfoLikePages

Differences between version 4 and revision by previous author of NameVirtualHosting.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 4 Last edited on Saturday, February 24, 2007 4:02:59 pm by TimCareySmith Revert
Older page: version 3 Last edited on Saturday, February 24, 2007 3:29:04 pm by AristotlePagaltzis Revert
@@ -49,9 +49,10 @@
  ErrorLog /var/log/apache/example.co.nz-error.log 
 </VirtualHost> 
  
 <VirtualHost *> 
- ServerName example.co.nz 
+ ServerName aliases.for.www.example.co.nz  
+ ServerAlias example.co.nz 
  ServerAlias example.com 
  ServerAlias www.example.com 
  RedirectMatch 301 /?(.*) http://www.example.co.nz/$1 
 </VirtualHost>