public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: How to enforce re-creation of configuration files generated by CGIs?
Date: Mon, 25 Oct 2021 13:44:43 +0100	[thread overview]
Message-ID: <F637B0D3-D4E6-4C4D-AD4B-ABEFB44059C0@ipfire.org> (raw)
In-Reply-To: <b2ec92f6-623e-4c7a-bb8a-3b52deb849ff@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

Hello,

Some CGI scripts have a check where they do this automatically, when they are not being executed by apache.

That includes vpnmain.cgi and proxy.cgi.

-Michael

> On 23 Oct 2021, at 07:42, Peter Müller <peter.mueller(a)ipfire.org> wrote:
> 
> Hello development folks,
> 
> while I do not think the changes related to Squid and Tor in Core Update 161
> require it, I just wondered myself how to enforce recreation of the corresponding
> configuration files?
> 
> Both of them are generated by CGIs ({proxy,tor}.cgi), and faking a POST request
> on the command line seemed to be the wrong way to me. :-)
> 
> Am I missing something? Is there a better/ideal way for doing this?
> 
> Thanks for enlightening me, and best regards,
> Peter Müller (lacking coffee)


      reply	other threads:[~2021-10-25 12:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23  6:42 Peter Müller
2021-10-25 12:44 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F637B0D3-D4E6-4C4D-AD4B-ABEFB44059C0@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox