Running VCL Rest Server under Apache on my dev PC

I now have a VCL XData server with a sample cutdown database, running on my Windows PC.

I already have Apache installed on my Windows Dev PC as I work with PHP as well.

Next step is to access it from elsewhere (this is only temporary, until a cloud host is sorted out).

  1. I know I have to do port forwarding
  2. I realise I may have to do something about a certificate.

Questions.

  1. Should I run the VCL REST server under Apache?
  2. Do I need to remove the VCL main form for it to run
  3. What else do I need to do to get it running under Apache

No. To run it in Apache, you need to create an Apache module and run XData from there.

If you are running from Windows, I'd strongly recommend you keep using the VCL version, based on http.sys, which is faster, more stable and easier than using Apache.

Then do I need to use IIS to make it visible to the world, or will http.sys do that for me? Because I hate IIS.

http.sys will do it, all you need is your Delphi application running (either a console, desktop or Windows service app) and of course proper firewall configured and port forwarding if needed (just as you would need with either Apache or IIS anyway).

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.