mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
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.
This commit is contained in:
parent
2439b5ac47
commit
d774d7ab29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53646
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user