Getting Apache Versionby ultranerds (Pilgrim)
|on Nov 05, 2008 at 16:50 UTC||Need Help??|
ultranerds has asked for the
wisdom of the Perl Monks concerning the following question:
I'm writing a script ATM, which will print out the Perl and Apache version. Now, getting the Perl version is simple - $]
However, the Apache version is prooving much harder.
I'm guessing something like:
...but this needs to work on a LOT of servers (mainly UNIX, but possibly NT servers too).
Anyone got any suggestions?