想了解HttpsPost在某些计算机上给出错误500的新动态吗?本文将为您提供详细的信息,我们还将为您解答关于post报错500的相关问题,此外,我们还将为您介绍关于.htaccess在本地主机上给出
想了解Https Post在某些计算机上给出错误500的新动态吗?本文将为您提供详细的信息,我们还将为您解答关于post报错500的相关问题,此外,我们还将为您介绍关于.htaccess在本地主机上给出500错误、asp.net – IIS HTTP错误500.19、asp.net – IIS错误 – HTTP错误500.24 – 内部服务器错误、asp.net – 重写规则错误:HTTP错误500.50 – URL重写模块错误.表达式“https://abc.com/{R:1}”无法展开的新知识。
本文目录一览:- Https Post在某些计算机上给出错误500(post报错500)
- .htaccess在本地主机上给出500错误
- asp.net – IIS HTTP错误500.19
- asp.net – IIS错误 – HTTP错误500.24 – 内部服务器错误
- asp.net – 重写规则错误:HTTP错误500.50 – URL重写模块错误.表达式“https://abc.com/{R:1}”无法展开
Https Post在某些计算机上给出错误500(post报错500)
如何解决Https Post在某些计算机上给出错误500?
我正在使用Delphi XE6和Indy 10.6.0.5122。
我对自己的Web服务器进行了POST,并且在包括我自己的Web服务器在内的许多计算机上都可以正常工作,但是在某些计算机上却不起作用,我也找不到原因。无效的返回错误为500“内部服务器错误”。
是否可能是运行我的程序的计算机没有相同的SSL DLL?
function TMainForm.SendSMStoServer(JsonStr:String): boolean;
var
IdHTTP2: TIdHTTP;
IdSSLIOHandlerSocketopenSSL3: TIdSSLIOHandlerSocketopenSSL;
url:String;
JsonToSend: TStringStream;
valid:Boolean;
begin
Try
IdSSLIOHandlerSocketopenSSL3 := TIdSSLIOHandlerSocketopenSSL.Create;
IdHTTP2 := TIdHTTP.Create;
IdHTTP2.Request.UserAgent := ''Mozilla/3.0 (compatible; Indy Library)'';
IdHTTP2.Request.ContentType := ''application/json'';
IdHTTP2.Request.BasicAuthentication := true;
IdSSLIOHandlerSocketopenSSL3.SSLOptions.Method := sslvTLSv1_2;
IdHTTP2.IOHandler := IdSSLIOHandlerSocketopenSSL3;
IdHTTP2.HandleRedirects := False;
JsonToSend := TStringStream.Create(JsonStr);
valid:=true;
url:=''https://myserver.com?password=xxxxxx&user=xxxxxx'';
try
IdHTTP2.Post(url,JsonToSend);
except
on E:Exception do
begin
SavetoFile(SmsText,JsonStr,E.Message);
memo1.Lines.Add(''To Myserver '' + E.Classname + '': '' + E.Message);
valid := False;
end;
end;
Finally
IdSSLIOHandlerSocketopenSSL3.Free;
IdHTTP2.Free;
JsonToSend.Free;
End;
Return := valid;
end;
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
.htaccess在本地主机上给出500错误
我是初学者MVC框架。 我试图根据教程创build一个我自己的。
他们提供的.htaccess文件包含:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.+)$ index.PHP?url=$1 [QSA,L]
我得到500服务器错误:服务器遇到内部错误,无法完成您的请求。 服务器过载或者CGI脚本中有错误。
我检查了httpd.conf来检查mode_rewrite是否未被评论。 任何人都可以帮我吗? 我在Ubuntu 12.04上使用LAMPP
如何在Web服务器行为中更改文档根目录?
保护可下载文件-PHP / MysqL Apache2服务器的最佳策略
网站stream量突然增加,在访客列表中findstatic.reverse.softlayer.com
.htaccess拒绝子文件夹中的文件
.htaccess路由PHP
默认为Web服务器上的PHP扩展
Symlinked MAMP文件夹导致403禁止
如何使用htaccess更改图像path?
如何在PHP脚本中更改URL的外观
如何禁用.htaccess文件中的mod_security?
RewriteRule ^(.+)$ index.PHP?url=$1 [QSA,L]
变成:
RewriteRule ^(.+)$ index.PHP?url=$1 [QSA,L]
请注意,“[QSA,L]”与[QSA,L]
重复你的错误,删除空间,工作)。 我正在使用WAMP。
尝试cjriii的答案,如果这不起作用,请检查httpd.conf文件中的AllowOverride变量,并确保它说全部而不是无。 那也是我第一次使用mod_rewrite工作时绊倒了我。
asp.net – IIS HTTP错误500.19
Error Summary
HTTP Error 500.19 – Internal Server Error
The
requested page cannot be accessed because the related configuration
data for the page is invalid.
Detailed Error information
Module IIS Web Core
Notification BeginRequest
Handler Not
yet determined
Error Code 0x8007000d
Config Error
Config File \?\D:\2008\abcd.Website\web.config
Requested
URL http : // localhost:80/abcd.WebsitePhysical
Path D:\2008\ManagerAnticriza.Website
logon Method Not yet
determined
logon User Not yet determined
谁能帮我?有没有办法在安装后配置IIS?
解决方法
事实证明,我错过了IIS中的一些功能,而我所执行的web.config正在寻找这些功能.我缺少身份验证功能和URL重写模块,因此IIS认为我的web.config格式不正确.
互联网上有类似的答案提到了网址重写模块,所以我先看一下.
asp.net – IIS错误 – HTTP错误500.24 – 内部服务器错误
********************ERROR********************** HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. ********************ERROR********************** ********************Detailed Error information************** Module: ConfigurationValidationModule Notification: BeginRequest Handler: StaticFile Error Code: 0x80070032 Requested URL :http://localhost:80/ Physical Path :C:\inetpub\wwwroot logon Method :Not yet determined logon User :Not yet determined ************************
解决方法
>这是一个很好的explanation of the difference.
Classic mode is where IIS only works with ISAPI extensions and ISAPI filters directly … Integrated mode handles all requests through a unified pipeline for IIS and is tightly integrated with ASP.NET through that same pipeline.
>你可能遇到麻烦的地方:
Some legacy code may require that you run in classic mode to execute without error. To take full advantage of IIS we strongly encourage you to review your code if your application throws an error in Integrated but runs fine in Classic.
> Laundry list of issues调试集成模式.
asp.net – 重写规则错误:HTTP错误500.50 – URL重写模块错误.表达式“https://abc.com/{R:1}”无法展开
<rule name="Imported Rule 1-1" enabled="true" stopProcessing="true"> <match url="^(?!https://).*" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{SERVER_PORT}" pattern="80" ignoreCase="false" /> </conditions> <action type="Rewrite" url="https://abc.com/{R:1}" /> </rule>
但是当我浏览http://我收到IIS错误
HTTP Error 500.50 – URL Rewrite Module Error. The expression
"https://abc.com/{R:1}"
cannot be expanded.
我该如何解决?我完全迷惑了
解决方法
<action type="Rewrite" url="https://abc.com/{R:1}" />
不行,因为你只有一场比赛.你需要:
<action type="Rewrite" url="https://abc.com/{R:0}" />
此外,这将无法正常工作,因为您只能在站点根目录下的路径上进行匹配.
<match url="^(?!https://).*" ignoreCase="false" />
看起来你正在检查ssl.改为:
<conditions logicalGrouping="MatchAll" trackAllCaptures="false"> <add input="{HTTPS}" pattern="^OFF$" /> </conditions>
今天关于Https Post在某些计算机上给出错误500和post报错500的介绍到此结束,谢谢您的阅读,有关.htaccess在本地主机上给出500错误、asp.net – IIS HTTP错误500.19、asp.net – IIS错误 – HTTP错误500.24 – 内部服务器错误、asp.net – 重写规则错误:HTTP错误500.50 – URL重写模块错误.表达式“https://abc.com/{R:1}”无法展开等更多相关知识的信息可以在本站进行查询。
本文标签: