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.
you can use CGI to prototype it, and FastCGI later for performance (if
it matters)
On Wed, Jun 22, 2022 at 10:28 AM Ahmad Ismail wrote:
>
> 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:
>
>
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
Use RedirectMatch with a negative lookahead instead to prevent loops.
On Wed, 22 Jun 2022 at 05:16, Deepak Goel wrote:
> Hello
>
> How do I create a redirect in 443 port in the apache web server 2?
>
> I want to redirect the url :
>
> https://mydomain.com/
>
> to
>
> https://mydomain.com/foo/
>
Hello
How do I create a redirect in 443 port in the apache web server 2?
I want to redirect the url :
https://mydomain.com/
to
https://mydomain.com/foo/
Please advise.
Thanks.
P.S:
If I add a redirect statement to the file 000-default-le-ssl.conf - port
443 (Redirect /