mjc 96/04/11 01:16:27
Modified: src mod_status.c
Log:
Add a message explaining how to get full instrumentation if -DSTATUS
isn't being used.
Revision Changes Path
1.12 +6 -0 apache/src/mod_status.c
Index: mod_status.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_status.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C3 -r1.11 -r1.12
*** mod_status.c 1996/04/09 08:18:37 1.11
--- mod_status.c 1996/04/11 08:16:26 1.12
***************
*** 71,76 ****
--- 71,77 ----
* 25.3.96 Make short report have full precision [Ben Laurie suggested]
* 25.3.96 Show uptime better [Mark/Ben Laurie]
* 29.3.96 Better HTML and explanation [Mark/Rob Hartill suggested]
+ * 09.4.96 Added message for non-STATUS compiled version
*/
#include "httpd.h"
***************
*** 327,332 ****
--- 328,338 ----
rputs(buffer,r);
}
}
+ #else
+ rputs("<hr>To obtain a full report with current status information ",r);
+ rputs("you need to recompile Apache adding the <code>-DSTATUS</code>
",r);
+ rputs("directive on the <code>CFLAGS</code> line in the ",r);
+ rputs("<code>Configuration</code> file.",r);
#endif
if (!short_report)
rputs("</body></html>",r);