[olug] Apache httpd
    Lou Duchez 
    lou at paprikash.com
       
    Sun Apr 29 21:40:27 UTC 2012
    
    
  
You want the ServerAlias directive.  I've borrowed / modified this 
example from my httpd.conf:
<VirtualHost *:80>
     ServerName foo.com
     ServerAlias foo.com www.foo.com bar.com www.bar.com
[plus the rest of your parameters]
</VirtualHost>
I know you said you want to achieve this without virtualhosts, but I'm 
guessing this example doesn't violate what you were trying to accomplish.
> i want to set up apache to listen on three domains, serving the same
> content, but without using virtualhosts, any suggestions on how i
> might go about it
>
    
    
More information about the OLUG
mailing list