Re: Upgrading a mod_perl application from Apache 2.2 to Apache 2.4

Andrew Green <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi William,

> But you are better off looking at;
> http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_version_ <http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_version_>
> 
> which returns nothing except exactly what you are asking.

I did try this (and it worked fine) — but I kept seeing the following error pop up in the logs:

ap_get_server_version() is deprecated since httpd/2.3.0 try using ap_get_server_(description|banner)() instead

So I switched to banner.  I’ll see about switching again to description.

Cheers,
Andrew.

-- 
Andrew Green
Article Seven Limited
http://www.article7.co.uk/ <http://www.article7.co.uk/>

Article Seven Limited is a registered company in England and Wales.  Registered number: 5703656. Registered office: 10 Hamilton Road, Sidcup, Kent, DA15 7HB.
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.