Re: How to get “my” VHOST in code executed by PerPostConfigRequire?

2019-08-07 Thread John Dunlap
Then you're much more fortunate than I am. :( On Wed, Aug 7, 2019, 11:06 AM Thorsten Schöning wrote: > Guten Tag John Dunlap, > am Mittwoch, 7. August 2019 um 16:26 schrieben Sie: > > > This will cause you a lot of grief. As I understand things, the core perl > > interpreter supports threads

Re: How to get “my” VHOST in code executed by PerPostConfigRequire?

2019-08-07 Thread Thorsten Schöning
Guten Tag John Dunlap, am Mittwoch, 7. August 2019 um 16:26 schrieben Sie: > This will cause you a lot of grief. As I understand things, the core perl > interpreter supports threads and is thread safe. However, most of the > modules available on CPAN are not thread safe. So, unless your

Re: How to get “my” VHOST in code executed by PerPostConfigRequire?

2019-08-07 Thread John Dunlap
> And that's exactly what I need to do with "PerlOptions +Parent"... This is how I support multiple code versions, when necessary. However, I strive to avoid this because it causes performance issues and makes server restarts take forever. > I need to support Windows which only supports some

Re: How to get “my” VHOST in code executed by PerPostConfigRequire?

2019-08-07 Thread Thorsten Schöning
Guten Tag André Warnier, am Mittwoch, 7. August 2019 um 15:21 schrieben Sie: > In the PerlPostConfigRequire phase, there is no request yet, so there is no > "selected" > VHost yet. > (But maybe, yes, it does get executed once per "VirtualHost" in the > configuration; that, I > really don't

Re: How to get “my” VHOST in code executed by PerPostConfigRequire?

2019-08-07 Thread tomcat
Hi. First, my knowledge of these things is more of the "practical, as mod_perl user" level, than based on the code. And I'm more than willing to be corrected by a real code specialist. And forgive me if I am explaining things which you already know. As I understand your request (and the first