Re: [users@httpd] Apache static compile

2023-04-11 Thread Rainer Canavan
On Sat, Apr 8, 2023 at 11:22 PM Chris me wrote: > > Right. Is there an option to compile Apache using a non-standard location for > dynamic libs? IE instead of /usr/lib it could use /usr/lib/custom > > I was not able to find anything other than using an ELF patcher to try and > change the paths

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Dave Wreski
Hi, On 4/10/23 11:48 PM, Tatsuki Makino wrote: Dave Wreski wrote on 2023/04/11 10:54: SetEnvIf user-agent "(?i:TurnitinBot)" stayout=1 SetEnvIf Request_URI "^linuxsecurity_features\.*$" !stayout I have done it in the past, too. It was like allowing another level of conditions to be attached to

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Eric Covener
On Tue, Apr 11, 2023 at 9:29 AM Dave Wreski wrote: > > Hi, > > On 4/10/23 11:48 PM, Tatsuki Makino wrote: > > Dave Wreski wrote on 2023/04/11 10:54: > > SetEnvIf user-agent "(?i:TurnitinBot)" stayout=1 > SetEnvIf Request_URI "^linuxsecurity_features\.*$" !stayout > > I have done it in the past, to

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Dave Wreski
Hi, SetEnvIf user-agent "(?i:TurnitinBot)" SOMENAME1 SetEnvIf Request_URI "^linuxsecurity_features\.*$" SOMENAME2 And let it meet all the requirements. Require all granted Require not env SOMENAME1 Require env SOMENAME2 This had the effect of blocking elements on every page (and t

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Eric Covener
On Tue, Apr 11, 2023 at 10:49 AM Dave Wreski wrote: > Hi, > > SetEnvIf user-agent "(?i:TurnitinBot)" SOMENAME1 > SetEnvIf Request_URI "^linuxsecurity_features\.*$" SOMENAME2 > > And let it meet all the requirements. > > > Require all granted > Require not env SOMENAME1 > Require env SOMENA

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Dave Wreski
Hi, SetEnvIf user-agent "(?i:TurnitinBot)" SOMENAME1 SetEnvIf Request_URI "^linuxsecurity_features\.*$" SOMENAME2 And let it meet all the requirements. Require all granted Require not env SOMENAME1 Require env SOMENAME2 This had the effect of blo

Re: [users@httpd] old gen workers sticking around post 2.4.49

2023-04-11 Thread metaed
I wrote: > I'll try to reproduce the problem without mod_php. and: > Using "dehydrated -c -x" to drive my testing, I've hit the 7-day rate limit at > Let's Encrypt, so I'll have to come back to this. I can reproduce the problem pretty easily with mod_php loaded. Unloaded, I have been unable to rep

RE: [users@httpd] Apache static compile

2023-04-11 Thread Chris me
Basically I am trying to run a later version of apache that supports the newer TLS alongside a much older version. I know it is better to upgrade the server, etc. but that is not an option for the legacy server. I basically need a completely stand alone version of httpd so I don’t have to worry

Re: [users@httpd] SetEnvIf and exceptions

2023-04-11 Thread Tatsuki Makino
Dave Wreski wrote on 2023/04/12 01:39: > In case I wasn't clear, simply removing the caret was not enough to make this > work. The "Require env SOMENAME2" was enough to begin blocking every page on > the site with a 403, not just the RSS feeds or the bots, but every legitimate > request. > > I'

Re: [users@httpd] old gen workers sticking around post 2.4.49

2023-04-11 Thread Daniel Ferradal
I'd say much better to move to mpm_event and and php-fpm, ridding httpd of PHP module and it's quirks in the process. El mar, 11 abr 2023 23:24, escribió: > I wrote: > > I'll try to reproduce the problem without mod_php. > and: > > Using "dehydrated -c -x" to drive my testing, I've hit the 7-day