summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-01-23 16:34:31 +0000
committermbr <mbr@FreeBSD.org>2002-01-23 16:34:31 +0000
commite0aa4e9305c75af1d111529246794e4d09bd33bf (patch)
tree48be7385f04ddd9d99197f8aee2ee02412187a2f /www
parent6075f6b50c6c419cdca88e34c1480c856cc25fc8 (diff)
downloadFreeBSD-ports-e0aa4e9305c75af1d111529246794e4d09bd33bf.zip
FreeBSD-ports-e0aa4e9305c75af1d111529246794e4d09bd33bf.tar.gz
Really use shtml.exe instead of shtml.dll as described in FEATURES.
This will fix some invalid command (/_vti_bin/shtml.dll) messages from fpexec.
Diffstat (limited to 'www')
-rw-r--r--www/mod_frontpage/files/patch-mod_frontpage.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/mod_frontpage/files/patch-mod_frontpage.c b/www/mod_frontpage/files/patch-mod_frontpage.c
index da2ac23..4291062 100644
--- a/www/mod_frontpage/files/patch-mod_frontpage.c
+++ b/www/mod_frontpage/files/patch-mod_frontpage.c
@@ -9,3 +9,13 @@
while (s != NULL) {
conf* c = ap_get_module_config (s->module_config, &frontpage_module);
if (c->disabled == -1)
+@@ -280,6 +280,9 @@
+ return log_scripterror (r, c, NOT_FOUND, APLOG_NOERRNO,
+ "unrecognized FrontPage request");
+
++ if (strcmp(vti, SHTMLDLL) == 0)
++ bcopy(SHTML, vti, strlen(SHTML));
++
+ ap_table_set (r->subprocess_env, "FPEXE", ap_pstrdup (r->pool, vti));
+
+ webroot = ap_pstrndup (r->pool, r->filename, (vti - r->filename));
OpenPOWER on IntegriCloud