Date: Wed, 16 Feb 2000 11:15:16 +0600 (NS) From: Max Khon <fjoe@iclub.nsu.ru> To: Gene Harris <zeus@tetronsoftware.com> Cc: Arthur Kelly <arthur@sevenkings.net>, Jim Weeks <jim@siteplus.com>, freebsd-isp@FreeBSD.ORG, hetzels@westbend.net Subject: Re: apache + fp extensions bug Message-ID: <Pine.BSF.4.21.0002161114230.6975-200000@iclub.nsu.ru> In-Reply-To: <Pine.BSF.4.21.0002161057460.6975-100000@iclub.nsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
hi, there!
> new patch-fi (put it to /usr/ports/www/apache13-fp/patches/)
> attached.
sorry, forgot to attach the patch
/fjoe
[-- Attachment #2 --]
--- http_request.c.orig Tue Feb 15 18:23:33 2000
+++ http_request.c Tue Feb 15 18:26:04 2000
@@ -175,7 +175,7 @@
{
char *cp;
char *path = r->filename;
- char *end = &path[strlen(path)];
+ char *end;
char *last_cp = NULL;
int rv;
#ifdef HAVE_DRIVE_LETTERS
@@ -187,6 +187,9 @@
return OK;
}
+ if (r->execfilename) path = r->execfilename;
+ end = path + strlen(path);
+
#ifdef HAVE_DRIVE_LETTERS
/* If the directory is x:\, then we don't want to strip
* the trailing slash since x: is not a valid directory.
@@ -511,6 +514,7 @@
res = ap_parse_htaccess(&htaccess_conf, r, overrides_here,
ap_pstrdup(r->pool, test_dirname),
sconf->access_name);
+ if (r->execfilename) r->filename = r->execfilename;
if (res)
return res;
@@ -521,6 +525,7 @@
r->per_dir_config = per_dir_defaults;
}
}
+ if (r->execfilename) r->filename = r->execfilename;
}
/*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002161114230.6975-200000>
