主题: 求帮忙解决asp上传本地图片出现服务器故障问题!!!! |
作者: 求帮助求帮忙, 发布日期: 2011-08-18 13:24:15, 浏览数: 5625 |
我用firebug调试出现是这个问题,如何解决? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html dir=ltr><head><style>a:link {font:9pt/11pt 宋体; color:FF0000}a:visited {font:9pt/11pt 宋体; color:#4e4e4e}</style><META NAME="ROBOTS" CONTENT="NOINDEX"><title>无法显示网页</title><META HTTP-EQUIV="Content-Type" Content="text-html; charset=gb2312"></head><script>function Homepage(){<!--// in real bits, urls get returned to our script like this:// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm//For testing use DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"DocURL=document.URL;//this is where the http or https will be, as found by searching for :// but skipping the res://protocolIndex=DocURL.indexOf("://",4);//this finds the ending slash for the domain serverserverIndex=DocURL.indexOf("/",protocolIndex + 3);//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining//of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the endmarker.//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);BeginURL=DocURL.indexOf("#",1) + 1;urlresult=DocURL.substring(BeginURL,serverIndex);//for display, we need to skip after http://, and go to the next slashdisplayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);InsertElementAnchor(urlresult, displayresult);}function HtmlEncode(text){return text.replace(/&/g, '&').replace(/'/g, '"').replace(/</g, '<').replace(/>/g, '>');}function TagAttrib(name, value){return ' '+name+'="'+HtmlEncode(value)+'"';}function PrintTag(tagName, needCloseTag, attrib, inner){document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) );if (needCloseTag) document.write( '</' + tagName +'>' );}function URI(href){IEVer = window.navigator.appVersion;IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ?encodeURI(href) :escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';');}function InsertElementAnchor(href, text){PrintTag('A', true, TagAttrib('HREF', URI(href)), text);}//--></script><body bgcolor="FFFFFF"><table width="410" cellpadding="3" cellspacing="5"><tr><td align="left" valign="middle" width="360"><h1 style="COLOR:000000; FONT: 12pt/15pt 宋体"><!--Problem-->无法显示网页</h1></td></tr><tr><td width="400" colspan="2"><font style="COLOR:000000; FONT: 9pt/11pt 宋体">由于网页地址不正确,正在查找的网页无法显示。</font> </td></tr><tr><td width="400" colspan="2"><font style="COLOR:000000; FONT: 9pt/11pt 宋体"><hr color="#C0C0C0" noshade><p>请尝试执行下列操作:</p><ul><li>如果是在“地址”栏中键入了网页地址,请检查地址输入是否正确。<br></li><li>打开<script><!--if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0)== "2"))){Homepage();}//--></script>主页,然后查找与所需信息相关的链接。</li></ul><h2 style="COLOR:000000; FONT: 9pt/11pt 宋体">HTTP 错误 405 - 禁止访问资源<br> Internet 信息服务</h2><hr color="#C0C0C0" noshade><p>技术信息(用于支持人员)</p><ul><li>详细信息:<br><a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=405&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank">Microsoft 支持</a></li></ul></font></td></tr></table></body></html>
|
作者: 小浪子, 发布日期: 2011-08-18 13:41:11 |
asp/demo.asp不行? |
回复 |
作者: zhang15971, 发布日期: 2011-08-22 17:22:40 |
關于asp上傳圖片出現“服務器故障”,問題,有一個原因是kindeditor採用的是php文件進行上傳的(用firdebug可以看出),所以需要在iis上架設php平臺。
|
回复 |
作者: xupeng8712, 发布日期: 2013-02-20 17:57:51 |
/kindeditor/plugins/images/image.js内的第15行,修改为如下图中所示
|
回复 |