Re: Can I serve CLI Applications using Apache

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

 



On Thu, Jun 23, 2022 at 1:15 AM Ahmad Ismail <ismail783@xxxxxxxxx> wrote:
>
> I have already bumped into CGI (after asking the question here).
>
> However, I have some issues with CGI. For example, I have to add HEADERS maintaining CRLF etc in the output. However, I want the CLI app to be totally independent. I mean, I want to output regular text or json without any header.

I don't see any conflict, the app doesn't have to be aware it's being
run as/by a CGI program.  The only header you need to return in
practice is Content-Type and you can do that in a small wrapper that
doesn't do much more than run the CLI and return the output.

---------------------------------------------------------------------
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