In run mode (Http.sys - x86) the hmDelete method failsIn run mode (Http.sys - x86) the hmDelete method fails
Also it doesn't work
with THandlers.Add('/API/', '', TContentAPI .Create) do begin
CanStartSession := True;
RequiresSessionStart := False;
RequiresSession := False;
end;
I would like to install and use a content handler for PHP (.php) files.
The content handler can be registered, but unfortunately the execute function of the content handler is NOT called.
TIWMimeTypes::RegisterType(L".php", L"text/php; charset=UTF-8", false);
THandlers::Add(L"/", L"*.php", new TIWH_Php());
However, it works with the same PHP files but with a different file extension (.myPhp).
TIWMimeTypes::RegisterType(L".myphp", L"text/php; charset=UTF-8", false);
THandlers::Add(L"/", L"*.myphp", new TIWH_Php());
I have an application built with IntraWeb Version 15.2.51 that is deployed in Azure on load balanced servers.
All have been working perfectly since April 2022.
I have just rebuilt the app with IntraWeb Version 15.2.63, deployed it and I am now getting an error when I try to access it through the public internet.
502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
All is fine when I access it through the private VPN
All advice will be appreciated
P.S. I have tried Standalone and ISAPI... with the same results
Hi I'm using Delphi 11.1 with Intraweb 15.2.64. I'm converting and older (from 2012) application to http.sys and 64-bit. I'm long time Delphi developer, but web development is not my best.
So far I have got a classic stand-alone 64-bit version running. And an end user can access it using the classic http://127.0.0.1:8888/$/start URL.
Now comes the http.sys part. I have by using the "official" AtoZed http.sys description/guidance web page as well as compiler defines and separate .dpr made an http.sys version. The 32-bit version runs nicely in the IDE and the 64-bit version compiles OK. I have another PC acting as server, though running just Windows 10 Pro. I have installed MyApp using the /install parameter getting the "Service installed successfully" message box. And later found that /uninstall also works, though I haven't seen it documented anywhere.
So far, so good. But I cannot access the application, and I'm not sure what URL the end user should use combined with the ServerController properties set. Firstly I should add, that this is an internal program, so there is no need for a certificate. Is setting ServerController.SSLOptions.NonSSLRequest=nsAccept sufficient to run without certificate (All SSLOptions at their default values)? And while at this: What is the difference between ServerController.Port and SSLOptions.Port?
I have a server, MyServer, I could also use its static IP. I have an application with the following ServerController (relevant) properties set: AppName=MyApp Port=8888 URLBase=/MyApp/ The HttpSysOptions are left at their defaults, including a blank VirtualHostNames
How exactly should the URL for accessing the application look? Should I use VirtualHostNames and what does that do to the URL syntax?