related question.....

1 view
Skip to first unread message

James Carroll

unread,
Jul 4, 2009, 6:40:30 PM7/4/09
to smug...@googlegroups.com
this is only partly related to smug... I am setting up my http.conf
file, and what I want is

k-tlandforsale.com and www.k-tlandforsael.com to point to the same smug repo...

So I set up two identical <virtualhost> directives in Apache, and it
threw an error, saying that they "overlap" and that it would only use
the first one... so I took the second one out, but without that
directive, www.k-tlandforsale.com points and james.jlcarroll.net
(presumably because that is the default that the server throws when a
url hits it that it doesn't know what to do with) while
k-tlandforsale.com points at the desired smug repo.

What is the right way to make the www work as well?

Thanks,

James

--
"And very early in the morning
the first day of the week,
they came unto the sepulchre
at the rising of the sun..." (Mark 16:2)

Web: http://james.jlcarroll.net

Andrew McNabb

unread,
Jul 4, 2009, 7:29:44 PM7/4/09
to smug...@googlegroups.com
On Sat, Jul 04, 2009 at 04:40:30PM -0600, James Carroll wrote:
>
> So I set up two identical <virtualhost> directives in Apache, and it
> threw an error, saying that they "overlap" and that it would only use
> the first one...

You probably need the "NameVirtualHost" directive.

--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868

Reply all
Reply to author
Forward
0 new messages