httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C...@PROCESS.COM (Rodent of Unusual Size)
Subject [PATCH] for AllowOverrides-not-in-VirtualHost
Date Thu, 01 Jan 1970 00:00:00 GMT
    Here, this seems to fix it..

    For 1.3b3.

    #ken    P-)}

Index: main/http_core.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_core.c,v
retrieving revision 1.138
diff -u -r1.138 http_core.c
--- http_core.c	1997/11/12 20:42:09	1.138
+++ http_core.c	1997/11/13 11:31:02
@@ -667,8 +667,10 @@
 {
     char *w;
   
-    const char *err = check_cmd_context(cmd, NOT_IN_VIRTUALHOST|NOT_IN_LIMIT);
-    if (err != NULL) return err;
+    const char *err = check_cmd_context(cmd, NOT_IN_LIMIT);
+    if (err != NULL) {
+        return err;
+    }
 
     d->override = OR_NONE;
     while(l[0]) {

Mime
View raw message