I am running Apache/1.3.27 on Win2000Pro. I tried to upgrade apache separately to 1.3.33, but then mod_perl does not work and I did not find a binary version for 1.3.33. The version I am using comes from a binary package that has everything in it (perl, apache, mod_perl, axkit).
I tried several other combinations (installing apache and perl separately) and at the end something did not work.
I managed to make mod_perl working with later version of apache, but then I could not install axkit - I ran into compilation errors and other issues.
To be honest, "nmake"ing AxKit on win32 doesn't work. I had to fitz with it's lib detection code to make it happen. Same goes with some versions of XML-LibXML/XML-LibXSLT.
I actually do not know what version of libxml is there, but I do not think the problem is related to libxml - because the result is correct if caching is off and even if it's on, the file in the cache is correct.
I don't think it realtes to the problem earlier. I just wanted to mention that upgrading everything to the latest on win32 gets tricky with those libxml/libxslt libs.
The problem is not just with the Content-length header. The file returned is also cut to that length.
Turning gzip on partially helps the problem in the following way.
Let's say I have an xml file 5000 bytes long. The result of the transformation is, say, 7000 long. So when I request that xml file, axkit does the transformation, but only 5000 bytes of the result is returned (cached file is still 7000 long).
I wonder if this is a chunk encoding bug with earlier versions of MP/Apache 1.3.x?
Now if gzip is turned on, 7000 bytes are squeezed into, say, 3000. So the browser gets that 3000 but since the server reported more than that, the browser waits for the rest. After some time the browser gives up and the page renders properly. But that's only if the gzipped output is shorter than the xml source.
So I do feel like I need to patch apache/mod_perl, but I could not find a proper binary bundle and recompiling from source seems very painful on Win32.
Do you have a C compiler (Visual C++) on win32?
To be honest, I've gotten away with simple using the 1.3.33 frmo apache.org, and the 1.29_01-dev mod_perl from http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd.
You might be able to get away just upgradeing those two and AxKit should still work.
Thank you for your help! Igor
Let me know if you get to the point you just need a solid recompile of everything ModPerl/AxKit/XML/XSLT related.
I shouldhave made ppm packages of what I used that last time I did it, but running through the Makefile hackery jiggery pokery once more won't hurt me either.
-=Chris
smime.p7s
Description: S/MIME Cryptographic Signature
