On Thu, Dec 6, 2018 at 3:34 PM Andrew Green <and...@article7.co.uk> wrote:
> Hi William, > > But you are better off looking at; > > 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. > Ahhh, ok, just be aware the get_server_description call doesn't exist in 2.2, you need to perform a little eval() magic to guard against that expected failure.