On 8/26/11 10:40 AM, Mehboob Alam wrote:
> Maybe a silly question, but I need to run the 4D Web Server (since I
> already have the license) and also run a custom webserver in NTK on a
> different port. Anyone try to implement this?
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>
Yes, we've done this for as long as we've been running A4D.

Basically I pre-process the request, examine the header (NTK has a
look ahead functions), determine if the request should be handled by
A4D or NTK, then branch processing accordingly. This does require
modifying the A4D shell some.

In hindsight I would probably do this differently. Even though we
have Apache in front of 4D/A4D/NTK I did it the above way for some
reason when we first moved to A4D w/ ITK. I later replaced ITK with
NTK. What I'd probably do now is have the the standalone NTK web
server listen on a different port than the 4D A4D/NTK listener pool
and have Apache Rewrite route requests as appropriate.

Hope that makes sense?

-- Brad
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to