--- config.h.orig	Mon Jul 15 10:51:21 2002
+++ config.h	Mon Jul 15 14:50:44 2002
@@ -68,6 +68,7 @@
 /* When virtual hosting, enable the central directory on every host: */
 #define CGI_PATTERN "/*/cgi-bin/*"
 #endif
+#define CGI_PATTERN "/cgi/*|**.cgi"
 
 /* CONFIGURE: How many seconds to allow CGI programs to run before killing
 ** them.  This is in case someone writes a CGI program that goes into an
@@ -113,8 +114,8 @@
 ** You can also leave both options undefined, and thttpd will not do
 ** anything special about tildes.  Enabling both options is an error.
 */
-#ifdef notdef
 #define TILDE_MAP_1 "users"
+#ifdef notdef
 #define TILDE_MAP_2 "public_html"
 #endif
 
@@ -183,9 +184,7 @@
 ** having to give the -v command line flag.  You can still disable it at
 ** runtime with the -nov flag.
 */
-#ifdef notdef
 #define ALWAYS_VHOST
-#endif
 
 /* CONFIGURE: If you're using the vhost feature and you have a LOT of
 ** virtual hostnames (like, hundreds or thousands), you will want to
@@ -227,15 +226,13 @@
 ** initializing.  If this user (or the one specified by the -u flag) does
 ** not exist, the program will refuse to run.
 */
-#define DEFAULT_USER "nobody"
+#define DEFAULT_USER "httpd"
 
 /* CONFIGURE: When started as root, the program can automatically chdir()
 ** to the home directory of the user specified by -u or DEFAULT_USER.
 ** An explicit -d still overrides this.
 */
-#ifdef notdef
 #define USE_USER_DIR
-#endif
 
 /* CONFIGURE: If this is defined, some of the built-in error pages will
 ** have more explicit information about exactly what the problem is.
@@ -262,11 +259,13 @@
 /* CONFIGURE: nice(2) value to use for CGI programs.  If this is undefined,
 ** CGI programs run at normal priority.
 */
+#ifdef notdef
 #define CGI_NICE 10
+#endif
 
 /* CONFIGURE: $PATH to use for CGI programs.
 */
-#define CGI_PATH "/usr/local/bin:/usr/ucb:/bin:/usr/bin"
+#define CGI_PATH "/usr/local/bin:/usr/bin:/bin"
 
 /* CONFIGURE: If defined, $LD_LIBRARY_PATH to use for CGI programs.
 */

