[Xitami] virtual hosting - patched win32 version?
E. Egberts
xitami@lists.xitami.org
Mon, 22 Apr 2002 07:14:25 +0200
I'm looking for the pathed win32 binary - who can help?
Thanks,
Egbert
-----Oorspronkelijk bericht-----
Van: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]Namens Jonathan D. Warren
Verzonden: maandag 22 april 2002 3:38
Aan: xitami@lists.xitami.org
Onderwerp: RE: [Xitami] virtual hosting
Well, after adding tons of debug statements, I finally tracked down the bug.
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.
orig code:
/* Determine rootdir and cgidir for virtual host
*/
/* If command-line option is not the default, it takes precedence
*/
if (streq (rootdir, DEFAULT ("server:webpages")))
v_rootdir = VCONFIG ("server:webpages");
else
v_rootdir = rootdir;
fixed code:
/* Determine rootdir and cgidir for virtual host
*/
/* If command-line option is not the default, it takes precedence
*/
if (!streq (rootdir, DEFAULT ("server:webpages")))
v_rootdir = VCONFIG ("server:webpages");
else
v_rootdir = rootdir;
alternate fix:
/* Determine rootdir and cgidir for virtual host
*/
/* If command-line option is not the default, it takes precedence
*/
if (streq (rootdir, DEFAULT ("server:webpages")))
v_rootdir = rootdir;
else
v_rootdir = VCONFIG ("server:webpages");
-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Jonathan D. Warren
Sent: Sunday, April 21, 2002 7:30 PM
To: xitami@lists.xitami.org
Subject: RE: [Xitami] virtual hosting
Just out of curiosity, could you let me know where I can find the patch you
refer to, or what the bug was (if it's not that complicated of a bug).
I've been going through the code, but it's been way too long since I've done
any C/C++ development (been in the Java world long enough to forget most of
my C/C++).
-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of bernd hohmann
Sent: Friday, April 19, 2002 4:39 AM
To: xitami@lists.xitami.org
Subject: RE: [Xitami] virtual hosting
On Thu, 18 Apr 2002 19:55:34 -0400, Jonathan D. Warren wrote:
> I was able to get Virtual Hosts working with Xitami 2.4d9 production
> release.
>
> Since I have upgraded to Xitami 2.5b5 beta release, I have been unable to
> get Virtual Hosts working.
there is a bug in the VHOST management. i fixed it in the OS/2
version (patch-1)
bernd
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami