[olug] Apache httpd

Sam Flint harmonicnm7h at gmail.com
Mon Apr 30 13:15:14 UTC 2012


ok, i saw the ServerAlias directive, but it was somewhat confusing,
they didn't make the params clear enough

On Sun, Apr 29, 2012 at 4:40 PM, Lou Duchez <lou at paprikash.com> wrote:
> 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
>>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug



-- 
Sam Flint
flintfam.org/~swflint



More information about the OLUG mailing list