Re: Apache 2.2 released - apparently breaks the mod API compatibility
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Re: Apache 2.2 released - apparently breaks the mod API compatibility




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-03-05 10: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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register