Apache Mod-Python - Re: Apache 2.2 released - apparently breaks the mod API compatibility

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > December 2005 > Re: Apache 2.2 released - apparently breaks the mod API compatibility





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Apache 2.2 released - apparently breaks the mod API compatibility
Jorey Bump

2005-12-03, 5:46 pm

Nicolas Lehuen wrote:

> Is there a wait to use macro directives so that we don't need to
> maintain two separate branches ? A define that we could pass when
> building mod_python to select the Apache version we're building against,
> maybe ?


If it's possible to make the code in connobject.c & filterobject.c
compatible with both Apache 2.0 & 2.2, then the only unavoidable
incompatibility is in test.py (with the auth stuff). Since that script
already calls httpd, it could discover the version with httpd -v (unless
mod_python has an internal record of this, already) and adapt accordingly.

These diffs were really tiny to get a seemingly working version to run
with Apache 2.2. Finding compatible alternatives to the deprecated items
will deliver better results than version sniffing, IMHO. I just wish I
was bright enough to comprehend what the lines in question actually do. :P

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com