Changes between Version 1 and Version 2 of ServerStatus


Ignore:
Timestamp:
Jun 13, 2007, 1:55:58 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerStatus

    v1 v2  
    4040There are two ways to do this:
    4141
    42  1. Copy the file `server_status.php` from `html/ops` to `html/user`. This works fine 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).
     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).
    4343 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.