Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 987 Bytes

offload_server_config.php

File metadata and controls

31 lines (22 loc) · 987 Bytes
 
Aug 1, 2005
Aug 1, 2005
1
2
3
4
5
6
7
8
9
10
<?php
// set these for your server, and put this file in the same directory as
// offload.php ...
// GDEBUG should be false at production time, but this lets you sanity check
// some things before going live.
define('GDEBUG', false);
// This is a list of servers that you are offloading.
Sep 4, 2008
Sep 4, 2008
11
define('GBASESERVER', 'example.com');
Aug 1, 2005
Aug 1, 2005
12
13
14
15
16
17
18
19
// Time in seconds that i/o to base server should timeout in lieu of activity.
define('GTIMEOUT', 90);
// This is where we'll cache files.
define('GOFFLOADDIR', '/usr/local/apache/offload');
// Set GDEBUGTOFILE to write all debug info to files in GOFFLOADDIR, if
Jul 15, 2007
Jul 15, 2007
20
// GDEBUG is also true. You probably want this to be true most cases.
Aug 1, 2005
Aug 1, 2005
21
22
define('GDEBUGTOFILE', true);
Dec 9, 2005
Dec 9, 2005
23
24
25
26
27
28
29
// Set GUSESEMAPHORE to true to use sem_acquire() for locking.
// Set GUSESEMAPHORE to false to use mkdir() for locking.
// sem_acquire is flakey, mkdir will NOT work on NFS!
// All bets are off on Windows either way. :)
define('GUSESEMAPHORE', false);
Aug 1, 2005
Aug 1, 2005
30
31
// END OF CONFIG VALUES...
?>