我怎样才能弄清楚这个首页扩展代码应该做什么?
我被要求协助解决问题。网站上的功能“停止工作”,我被要求找出问题所在。以下是错误:
首页错误。
用户:请将详细信息报告给本网站的网站管理员。
网站管理员:请查看服务器的应用程序事件日志以了解更多详细信息。
在页面上,我看到以下内容:
<!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="../_vti_bin/shtml.dll/index.html" name="FrontPage_Form1" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="/results.csv" S-Format="TEXT/CSV"
S-Label-Fields="FALSE" B-Reverse-Chronology="FALSE" S-Builtin-Fields
S-Form-Fields="TYPE NAME ADDRESS CITY STATE ZIP "
U-Confirmation-Url="confirmation.html" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan i-checksum="43374" -->
<div align="center">
...
我查看目录结构,发现即使在强制显示隐藏目录/文件后,_vti_bin 也消失了。这是不存在的。经过一番研究后,我相信这段代码正在使用 Frontpage 扩展,并且它们显然已被删除。这看起来准确吗?
我对首页扩展完全没有经验。这是在做什么,它使用另一个名为 shtml.dll 的文件并在路径 /index.html 上调用它,基本上只是进行回发?
我正在查看网络机器人部分,这似乎是它想要完成的任务。它只是将表单结果附加到 CSV 中就这样了吗?
我看到了一些类似的其他位,但它们都引用了验证器,我应该能够在 javascript 中很好地处理这些验证器。
I was asked to assist with troubleshooting a problem. Functionality on a site "stopped working" and I was asked to figure out what is wrong. The following is the error:
FrontPage Error.
User: please report details to this site's webmaster.
Webmaster: please see the server's application event log for more details.
On the page I'm seeing the following:
<!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="../_vti_bin/shtml.dll/index.html" name="FrontPage_Form1" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan
U-File="/results.csv" S-Format="TEXT/CSV"
S-Label-Fields="FALSE" B-Reverse-Chronology="FALSE" S-Builtin-Fields
S-Form-Fields="TYPE NAME ADDRESS CITY STATE ZIP "
U-Confirmation-Url="confirmation.html" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan i-checksum="43374" -->
<div align="center">
...
I look at the directory structure and find that even after forcing display of hidden directories/files, _vti_bin is GONE. It's nonexistent. After a little research this leads me to believe that this code is using frontpage extensions, and they have apparently been removed. Does that look accurate?
I'm completely inexperienced with frontpage extensions. Is what this is doing is it's using another file called shtml.dll and calling it on the path /index.html, basically just doing a postback?
I'm looking at the webbot part which seems to be what it's trying to accomplish. Is it merely appending the form results to a CSV and that is all?
I see a few other bits like this but they all refer to validators which I should be able to handle in javascript just fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终查看了服务器配置,发现就服务器而言,仍然安装了 Frontpage 扩展。然后我告诉它重新安装,早上它又正常工作了。
I ended up looking at the server configuration and finding that as far as the server was concerned, frontpage extensions were still installed. I then told it to re-install and in the morning it was working again.