You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <CO...@PROCESS.COM> on 1997/11/13 12:18:00 UTC
[PATCH] for AllowOverrides-not-in-VirtualHost
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]) {
Re: [PATCH] for AllowOverrides-not-in-VirtualHost
Posted by Martin Kraemer <Ma...@mch.sni.de>.
+1 too.
But wait, there's more trouble lingering there....:
[Thu Nov 13 14:50:50 1997] [alert] (0)Error 0: /home/martin/WWW/.htaccess: <Files> cannot occur within <Directory/Location/Files> section
Where I have this in my .htaccess:
<Files /home/martin/WWW/Resultate.shtml>
order deny,allow
allow from .mch.sni.de
</Files>
Should I withdraw the patch, or could y'all help me cross-check all the
checks?
Martin
On Thu, Nov 13, 1997 at 05:02:49AM -0800, Dean Gaudet wrote:
> +1
--
| S I E M E N S | <Ma...@mch.sni.de> | Siemens Nixdorf
| ------------- | Voice: +49-89-636-46021 | Informationssysteme AG
| N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
Re: [PATCH] for AllowOverrides-not-in-VirtualHost
Posted by Dean Gaudet <dg...@arctic.org>.
+1
On Thu, 13 Nov 1997, Rodent of Unusual Size wrote:
> 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]) {
>