Can I serve CLI Applications using Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to create a CLI app (in this case named CLI_APP), that will
output json and can be accessed via web.

In Linux terms, it will look like:

Request | Web_Server | CLI_APP | ADD_UI | Web_Server > Response

Now, I will run the app like `CLI_APP --output json`. Here, I am
saying that the CLI_APP will output json (for REST API).

Here, `ADD_UI --output web` will add HTML, CSS, JS etc. to the JSON output.

Can apache help me send the requests to CLI_APP via STDIN and serve
the final output of `ADD_UI --output web`?

Thanks and Best Regards,
Ahmad Ismail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux