Hello,
Update.
I am already using relayd to apply rules based on httpd headers.
Therefore, I have consolidated all common (global) headers within relayd so
that these applies to static files as well.
Only the headers specific for dynamic content now remain within the
scripts.
Thanks and regar
Hello,
Update.
I am already using relayd to apply rules based on httpd headers.
Therefore, I have consolidated all common (global) headers within relayd so
that these applies to static files as well.
Only the headers specific for dynamic content now remain within the
scripts.
Thanks and regar
On 5/8/25 07:06, Jonathan Gray wrote:
> On Fri, May 09, 2025 at 05:40:23AM +0200, Christian Schulte wrote:
>> Thanks. Does not make a difference here. Maybe the device id is just a
>> different one here. Cannot tell.
>>
>> Regards,
>> --
>> Christian
>>
>> 0:3:0: Intel Core 4G HD Audio
>> 0x0
On Fri, May 16, 2025 at 9:26 AM Mike Fischer wrote:
> > Am 16.05.2025 um 15:35 schrieb Jan Stary :
> >
> > On May 16 15:10:48, fischer+o...@lavielle.com wrote:
> >> The sh(1) manage does not mention the RANDOM variable.
> >
> > But it mentions that sh(1) is ksh(1)
> >
> > This version of sh is ac
On May 16 23:07:39, fischer+o...@lavielle.com wrote:
> >> around full minutes, full 5 minutes, etc. This was most likely caused
> >> by bunching up of requests from cron tasks around those times.
> >
> > Do you mean cron tasks running at the (many) _clients_ using that server?
>
> Exactly. A publ
May 12, 2025 17:07:23 Stephen Wiley :
> I had kind of given up on Mastodon partly because all of the software
> involved was so heavy and unpleasant.
Just to say that It is very difficult to face the barbar reality of scarce
documentation + rails requirement on your
live server when you live b
> Am 16.05.2025 um 19:45 schrieb Jan Stary :
>
The (intended) semantics are slightly different from
~ * * * * /home/username/bin/script.sh
The latter calculates the random value once when the crontab is loaded,
while the former calculates it each time the crontab entry is tri
> What is the way to inject http headers in httpd for static content?
httpd(8) is not for injecting/manipulating HTTP-headers.
Example:
If you need to add an "foobar" header you have to combine httpd(8)
and relayd(8)
then select [1] either the request or the response (depends on your
use-case an
On Fri, May 16, 2025 at 11:05 AM Sven F. wrote:
> Hello,
>
> On an amd64 device:
>
> OpenBSD 7.7 (GENERIC.MP) #625: Sun Apr 13 08:30:20 MDT 2025
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16968613888 (16182MB)
> avail mem = 16427728896 (15666MB)
> rand
> >> The (intended) semantics are slightly different from
> >> ~ * * * * /home/username/bin/script.sh
> >> The latter calculates the random value once when the crontab is loaded,
> >> while the former calculates it each time the crontab entry is triggered.
> >
> > Why do you need that?
>
> a) To
Michael, at the next wrong suggestion I let you know by invitation
next time I give away signed blue footballs.
Dan
--
Blog: http://bsd.gaoxio.com - Repo: https://code.5mode.com
Please reply to the mailing-list, leveraging technical stuff.
May 15, 2025 23:06:03 Michael Hekeler :
> you wa
> Am 16.05.2025 um 17:33 schrieb Jan Stary :
>
>>> How exactly are you using RANDOM in a crontab,
>>
>> * * * * * time $((RANDOM % 60));/home/username/bin/script.sh
>
> That doesn't make any sense: do you mean sleep(1) instead of time(1)?
Sorry, yes. sleep is correct.
> Show the actual line
> > How exactly are you using RANDOM in a crontab,
>
> * * * * * time $((RANDOM % 60));/home/username/bin/script.sh
That doesn't make any sense: do you mean sleep(1) instead of time(1)?
Show the actual lines from the actual crontab -l
> The (intended) semantics are slightly different from
> ~ *
Thank you Dan,
This is CGI in C.
This is an issue of maintainability. Headers embedded in cgi scripts become
a challenge to update.
It requires tedious recompiling of scripts especially for big web
applications with hundreds or thousands of them.
Serving common http headers via httpd would ease
Hello,
On an amd64 device:
OpenBSD 7.7 (GENERIC.MP) #625: Sun Apr 13 08:30:20 MDT 2025
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16968613888 (16182MB)
avail mem = 16427728896 (15666MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 2
> Am 16.05.2025 um 15:35 schrieb Jan Stary :
>
> On May 16 15:10:48, fischer+o...@lavielle.com wrote:
>> The sh(1) manage does not mention the RANDOM variable.
>
> But it mentions that sh(1) is ksh(1)
>
> This version of sh is actually ksh in disguise.
Yes, I mentioned that:
>sh(1) does ment
On Fri, May 16, 2025 at 03:35:42PM +0200, Jan Stary wrote:
> On May 16 15:10:48, fischer+o...@lavielle.com wrote:
> > The sh(1) manage does not mention the RANDOM variable.
>
> But it mentions that sh(1) is ksh(1)
It also mentions that sh(1):
"describes only the parts relevant to a POSIX complia
On May 16 15:10:48, fischer+o...@lavielle.com wrote:
> The sh(1) manage does not mention the RANDOM variable.
But it mentions that sh(1) is ksh(1)
This version of sh is actually ksh in disguise.
$ ls -li /bin/*sh
and the ksh(1) manpage documents RANDOM.
> OTOH using RANDOM in a crontab(5), w
The sh(1) manage does not mention the RANDOM variable.
However the following script seems to work:
```
#!/bin/sh
echo $RANDOM
```
(Same as `$ sh -c 'echo $RANDOM'`.)
OTOH using RANDOM in a crontab(5), which has the SHELL=/bin/sh line, does not
seem to work.
sh(1) does mention that it is based
On 2025-05-15, Jon Fineman wrote:
> I am trying to install XML::Feed on 7.7 GENERIC.MP#625. This I believe
> relies upon XML::LibXML. It looks like I am getting unit test errors
> for LibXML.
>
> I also installed libxml-2, p5-libxml. Alien::Libxml2 was already installed
>
> I am rather new to in
Hello Kia guru.. serve it by php via header() changes?
But I would stick to wait for answers mostly relayd and httpd pertaining, Kia..
Dan
--
Blog: http://bsd.gaoxio.com - Repo: https://code.5mode.com
Please reply to the mailing-list, leveraging technical stuff.
May 16, 2025 10:05:21 Kiha
Hi,
What is the way to inject http headers in httpd for static content?
Regards,
Kihaguru
22 matches
Mail list logo