[Xitami] virtual hosting

bernd hohmann xitami@lists.xitami.org
Mon, 22 Apr 2002 09:50:40 +0100 (MEZ)


On Sun, 21 Apr 2002 21:37:48 -0400, Jonathan D. Warren wrote:

unfortunately i don't monitor this mailinglist at the weekend.

> Here's the info, for those of you that are able to compile the source.
> 
> In file "src\smt\smthttp.c", in the function vhost_new(), around line 546
> the if logic below is reversed.

i fixed it in this way:

//  if (streq (rootdir, DEFAULT ("server:webpages")))	30.04.01 ho:
    if (streq (rootdir, CONFIG  ("server:webpages")))

same for cgi-bin

bernd