brian 96/07/25 12:36:01
Modified: src mod_status.c mod_info.c
Log:
Changed default suggested URL-mappings for status and info modules, to
help avoid conflicts with common existing subdirectories.
Revision Changes Path
1.28 +15 -9 apache/src/mod_status.c
Index: mod_status.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_status.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C3 -r1.27 -r1.28
*** mod_status.c 1996/07/17 15:09:58 1.27
--- mod_status.c 1996/07/25 19:35:57 1.28
***************
*** 54,67 ****
* status information without having to worry where the scoreboard is
* held.
*
! * AddType application/x-httpd-status .status
! * You might like to do this in a .htaccess in a protected directory only
*
! * GET /.status - Returns pretty page for system admin user
! * GET /.status?refresh - Returns page with 1 second refresh
! * GET /.status?refresh=6 - Returns page with refresh every 6 seconds
! * GET /.status?auto - Returns page with data for automatic parsing
! * GET /.status?notable - Returns page with no table niceties
*
* Mark Cox, [EMAIL PROTECTED], November 1995
*
--- 54,74 ----
* status information without having to worry where the scoreboard is
* held.
*
! * To enable this, put the following in access.conf:
*
! * <Location /server-status>
! * SetHandler server-status
! * </Location>
! *
! * You may want to protect it by putting a <Limit> container directive
! * right after the SetHandler directive. You may perform the
! * following types of queries:
! *
! * GET /server-status - Returns pretty page for system admin user
! * GET /server-status?refresh - Returns page with 1 second refresh
! * GET /server-status?refresh=6 - Returns page with refresh every 6 seconds
! * GET /server-status?auto - Returns page with data for automatic parsing
! * GET /server-status?notable - Returns page with no table niceties
*
* Mark Cox, [EMAIL PROTECTED], November 1995
*
***************
*** 78,85 ****
* 18.5.96 Adapted to use new rprintf() routine, incidentally fixing a
missing
* piece in short reports [Ben Laurie]
* 21.5.96 Additional Status codes (DNS and LOGGING only enabled if
! extended STATUS is enabled) [George Burgyan/Jim J.]
! */
#include "httpd.h"
#include "http_config.h"
--- 85,91 ----
* 18.5.96 Adapted to use new rprintf() routine, incidentally fixing a
missing
* piece in short reports [Ben Laurie]
* 21.5.96 Additional Status codes (DNS and LOGGING only enabled if
! extended STATUS is enabled) [George Burgyan/Jim J.] */
#include "httpd.h"
#include "http_config.h"
1.2 +5 -5 apache/src/mod_info.c
Index: mod_info.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_info.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C3 -r1.1 -r1.2
*** mod_info.c 1996/05/27 20:34:49 1.1
--- mod_info.c 1996/07/25 19:35:59 1.2
***************
*** 54,67 ****
* Info Module. Display configuration information for the server and
* all included modules.
*
! * <Location /info>
* SetHandler server-info
* </Location>
*
! * GET /info - Returns full configuration page for server and all modules
! * GET /info?server - Returns server configuration only
! * GET /info?module_name - Returns configuration for a single module
! * GET /info?list - Returns quick list of included modules
*
* Rasmus Lerdorf <[EMAIL PROTECTED]>, May 1996
*
--- 54,67 ----
* Info Module. Display configuration information for the server and
* all included modules.
*
! * <Location /server-info>
* SetHandler server-info
* </Location>
*
! * GET /server-info - Returns full configuration page for server and all
modules
! * GET /server-info?server - Returns server configuration only
! * GET /server-info?module_name - Returns configuration for a single module
! * GET /server-info?list - Returns quick list of included modules
*
* Rasmus Lerdorf <[EMAIL PROTECTED]>, May 1996
*