You are not logged in.
Pages: 1
Hi, All
What is the simplest way for me to implement "Virtual Directories" (like IIS) using THttpApiServer?
Sample "09 - HttpApi web server" works great serving static files. Now I need the same using "virtual directories"
Nowadays I'm writing a THttpServerRequest.OnRequest handler and mapping these "virtual directories" to real ones....Is there any other way?
Thaks in advance!
Last edited by MagoSchmidt (2017-09-24 13:06:17)
Offline
Did you try TSQLHttpServer.DomainHostRedirect ?
https://synopse.info/files/html/api-1.1 … STREDIRECT
Offline
Well, I was intending to use only THttpApiServer. TSQLHttpServer has features that I do not need now....
Anyway, my "manual mapping" works well. Thank you very much for reply
Offline
Pages: 1