C
codepoet
Guest
attempt to invoke directory as script, in frontpage module
Solution for the
"attempt to invoke directory as script: /usr/local/frontpage/version5.0\xf4W\x83\xbf_\xdf\xc2\xb7\x10X\x83\xbf\xe6\x11#\xb7\x022523"
errors in the log file
This is caused by a flaw in the patch file posted earlier, causing a variable to be defined using a pair of other uninitialized variables... The part of the patch with the problem is listed below:
- ap_table_set(r->notes,"FPexecfilename", ap_pstrcat(r->pool, FPSTUB, NULL));
- r->filename = ap_pstrcat(r->pool, r->filename, szCgi, NULL);
+ execFilename = apr_pstrcat(r->pool, FP, szDir, szBuf, szBase, NULL);
+ apr_table_set(r->notes,"FPexecfilename", execFilename);
This is at about line 840 in mod_frontpage.c after the patch is applied... You need to change the line:
execFilename = apr_pstrcat(r->pool, FP, szDir, szBuf, szBase, NULL);
into
execFilename = apr_pstrcat(r->pool, FPSTUB, NULL);
I'm still unable to use the FP modules, it never seems to take my username/password for a frontpage admin login, but this solved the visible 403 error that it was kicking out... I'll try and poke more at this later to see if I'm missing anything else.
-Kenneth Sanislo
Solution for the
"attempt to invoke directory as script: /usr/local/frontpage/version5.0\xf4W\x83\xbf_\xdf\xc2\xb7\x10X\x83\xbf\xe6\x11#\xb7\x022523"
errors in the log file
This is caused by a flaw in the patch file posted earlier, causing a variable to be defined using a pair of other uninitialized variables... The part of the patch with the problem is listed below:
- ap_table_set(r->notes,"FPexecfilename", ap_pstrcat(r->pool, FPSTUB, NULL));
- r->filename = ap_pstrcat(r->pool, r->filename, szCgi, NULL);
+ execFilename = apr_pstrcat(r->pool, FP, szDir, szBuf, szBase, NULL);
+ apr_table_set(r->notes,"FPexecfilename", execFilename);
This is at about line 840 in mod_frontpage.c after the patch is applied... You need to change the line:
execFilename = apr_pstrcat(r->pool, FP, szDir, szBuf, szBase, NULL);
into
execFilename = apr_pstrcat(r->pool, FPSTUB, NULL);
I'm still unable to use the FP modules, it never seems to take my username/password for a frontpage admin login, but this solved the visible 403 error that it was kicking out... I'll try and poke more at this later to see if I'm missing anything else.
-Kenneth Sanislo