From d774d7ab29469eae717203d3f5d3e57d97ece801 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Wed, 23 Jan 2002 16:34:31 +0000 Subject: 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. --- www/mod_frontpage/files/patch-mod_frontpage.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'www/mod_frontpage') diff --git a/www/mod_frontpage/files/patch-mod_frontpage.c b/www/mod_frontpage/files/patch-mod_frontpage.c index da2ac23f9da2..4291062e5902 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)); -- cgit v1.2.3