Re: Apache 2.4 Upgrade

"Kevin A. McGrail" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 6/15/2015 3:30 PM, John Dunlap wrote:
> One thing I have noticed is that sometimes some of my objects seem to 
> persist between Apache restarts(which makes no sense to me at all).
>
> The concrete behavior that I'm seeing is that I can't log into my 
> application. The problem could very well be a bug in my code but, if 
> it is, I'm not sure why it happens on Debian 8 and not Debian 7. I 
> realize that, at this point, that's not something you can help me with 
> unless I can get you some more detailed information. My thought in 
> contacting the list, at this point, was to(hopefully) get some idea of 
> what has changed so that I could have a better idea of where to start 
> looking for problems.
>
There are changes in httpd 2.4 debian 8 vs httpd 2.2 in debian 7 that 
are "above" just getting a mod_perl that works with apache 2.4 where 
your application might need some code changes to support both.

For example, paraphrasing a post I wrote a few days ago, if you look at 
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7197 and 
https://svn.apache.org/viewvc?view=revision&revision=1681228, you'll see 
how the changes in httpd 2.4 rippled down to MP and how I implemented 
$c->client_ip instead of $c->remote_ip.

The documentation at 
http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html about the 
changes is a good starting point.  Beyond that, I would look at error 
logs to see if you have any specific issues to comment on.

regards,
KAM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.