Atozed Forums

Full Version: http.sys - URL to application
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?

-- Thomas