Handling PHP or CGI scripts from Wt Server?
I'm making a web application using wthttpd. But it needs to have a mechanism to be able to use plugins written by 3rd parties in PHP or in other languages using CGI. Basically I want those plugin scripts to execute inside a frame in my application.
Can you suggest any method through which I can accomplish this? Maybe using some feature of Apache or lighthttpd along with my Wt app? Will modifying any source will do?
I've been thinking on the lines of making a lighthttpd server listen to a specific port, and make my application communicate with that server through the port, utilizing its php/cgi rendering capabilities.
Any help would be greatly appreciated.
The Wt src/web/ folder seems to contain some familiar stuff...But I can't figure out how to use them to solve my problem.
It would seem to me that you would use Apache or lighttpd to run the php, and deploy this along with your wt application (i.e. at different paths) ?
Yes, only one way out I guess... I'll have to use Apache for this, make the pages using frames (to display the 3rd party plugins) with php and deploy wt applications with fastcgi on that server, wherever I need a widget-based interface.