Changes between Version 1 and Version 2 of ServerStatus
- Timestamp:
- Jun 13, 2007, 1:55:58 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerStatus
v1 v2 40 40 There are two ways to do this: 41 41 42 1. Copy the file `server_status.php` from `html/ops` to `html/user`. This works fineas long as you don't need any customization, and the DB queries in the page only take a few seconds (the page is cached, so they are done infrequently).42 1. Copy `html/ops/sample_server_status.php` to `html/user/server_status.php`. This works as long as you don't need any customization, and the DB queries in the page only take a few seconds (the page is cached, so they are done infrequently). 43 43 1. Write a periodic script that generates the 2 pages as files, and put a script in `user/server_status.php` that echoes one file or the other.