public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* How to enforce re-creation of configuration files generated by CGIs?
@ 2021-10-23  6:42 Peter Müller
  2021-10-25 12:44 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Müller @ 2021-10-23  6:42 UTC (permalink / raw)
  To: development

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

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to enforce re-creation of configuration files generated by CGIs?
  2021-10-23  6:42 How to enforce re-creation of configuration files generated by CGIs? Peter Müller
@ 2021-10-25 12:44 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2021-10-25 12:44 UTC (permalink / raw)
  To: development

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-25 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-23  6:42 How to enforce re-creation of configuration files generated by CGIs? Peter Müller
2021-10-25 12:44 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox