greyhound.php
changeset 21 74edc873234f
parent 19 75dd71fe35b2
child 25 5c377ceb0e4c
--- a/greyhound.php	Fri Apr 25 14:56:52 2008 -0400
+++ b/greyhound.php	Mon Jun 30 12:36:13 2008 -0400
@@ -40,7 +40,17 @@
 // Allow forking when an HTTP request is received. This has advantages
 // and disadvantages. If this experimental option is enabled, it will
 // result in faster responses and load times but more memory usage.
-$allow_fork = true;
+$allow_fork = false;
+// set to true to enable authentication
+// WARNING: THIS HAS SOME SERIOUS SECURITY PROBLEMS RIGHT NOW. I don't
+// know what's causing it to not prompt for authentication from any
+// client after the first successful auth.
+$use_auth = false;
+// valid users and passwords
+$auth_data = array(
+    'funky' => 'monkey',
+    'fast' => 'forward'
+  );
 
 @ini_set('display_errors', 'on');