[Xitami] Building Xitami
Elliott Potter
xitami@lists.xitami.org
Sat, 1 May 2004 13:27:29 -0500 (EST)
On Sat, 1 May 2004, Pieter Hintjens wrote:
> On 01/05/04 14:48, jp@manninghammills.org wrote:
>
> > On Sat, May 01, 2004 at 01:40:39AM -0500, Elliott Potter wrote:
> >
> > > They apparently didn't actually try to build the newer versions of
> > > Xitami before they slapped them on the web site. You can get "c" (c.bat
> > > on Windows I think) from 2.4d9 and it appears to work fine.
> >
> > I don't see any way to get this version.
>
> Actually we do build Xitami. The problem is that the
>
To make xitami 2.5c1 compile on Linux (downloaded from
http://www.xitami.com/xiopen_2_5_src.tar.gz)
I had to find the "c" file from a previous release (2.4d9), and put it
in every subdirectory, edit the "boomake" file in every subdirectory to
remove the COPTS= line (this caused problems on bash; not necessarily a
problem for everyone), then make the following change:
> diff -Naur current/smt/smthttpl.c patched/smt/smthttpl.c
> --- current/smt/smthttpl.c 2003-12-05 07:09:22.000000000 -0500
> +++ patched/smt/smthttpl.c 2004-03-24 17:12:05.000000000 -0500
> @@ -1641,10 +1641,12 @@
> switch (p_http-> response)
> {
> case HTTP_RESPONSE_OK:
> - if (p_http-> transaction == TRANSACTION_CGI
> - || p_http-> transaction == TRANSACTION_WSX)
> - || p_http-> transaction == TRANSACTION_FILTER)
> - put_dynamic_headers (p_http, header);
> + if (p_http-> transaction == TRANSACTION_CGI
> + || p_http-> transaction == TRANSACTION_WSX
> + || p_http-> transaction == TRANSACTION_FILTER)
> + {
> + put_dynamic_headers (p_http, header);
> + }
> else
> {
> get_file_properties (p_http);
After this, xitami compiled for me, but wouldn't work with php. I sent
mail to the list describing the php problem on Friday, 26 Mar 2004 but
got no reply, so I set xitami aside and started using lighttpd, which
isn't nearly as flexible as xitami but has the advantage that it serves
my dynamic pages.
I'd much rather use xitami, because I like the way it handles virtual
hosting, but I can't make it go and wasn't able to get any support, and
I just don't have time to sit and fiddle with it.
--
Elliott