httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [PATCH] Show compile time switches for server
Date Fri, 07 Nov 1997 09:36:17 GMT
Here's a patch which lets a user query (many of) the compile-time
switches of apache,

as in:
    > ./httpd -V
    Server base version: "Apache/1.3b3-dev"
    Server sub-version:  "PHP/FI-2.0b12"
    Server built:  Fr 07.Nov.1997, 10:24:14 MET
    Server compiled with....
     -D HTTPD_ROOT="/usr/local/apache"
     -D USE_MMAP_FILES           <-- hello, Dean: it works without HAVE_MMAP!

Plus it adds the build date to the '-v' switch:
    > ./httpd -v
    Server version Apache/1.3b3-dev PHP/FI-2.0b12.
    Server built:  Fr 07.Nov.1997, 10:24:14 MET

For getting _only_ the latter (which usually can only be queried by
requesting /server-info?server) there is a second patch. The first patch
incorporates both.

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message