I use it like this inside my VirtualHost declaration: PerlOptions +Parent PerlRequire /usr/local/lariat-03.02.xx/conf/qa/startup-qa-03.02.xx.pl
This allows me to use a different version of my code base and a different startup.pl on a per virtual host basis. Without it, all of my virtual hosts would operate off the exact same version of my code. On Mon, Dec 15, 2014 at 10:54 AM, Thorsten Schöning <tschoen...@am-soft.de> wrote: > > Hello, > > according to the docs[1] "PerlOptions +Parent" is available per > directory, the example even uses a "Location" block. But if I try > that, I always get the following error: > > > Invalid per-directory PerlOption: Parent > > I tried that in the past years time and again with always the same > result that it simply doesn't work, not in Location or Directory > blocks, not in .htaccess, nowhere. Yesterday I even tried to dig in > the mod_perl source code to have a look if I'm doing something wrong, > but I ended up in modperl_options.c, where I don't understand who > initially defines which option is per directory or per server. > > Additionally I searched the web of course and there are some > comparable discussions, but with no solution and the documentation is > still as it is. > > So, is the documentation simply wrong and someone needs to update it? > If so, who do I need to talk to to get that changed once and for all? > > If +Parent should work per directory, any hints on what I'm doing > wrong? There are no other messages in the Apache log and I'm simply > copying the documented lines. Did any of you ever successfully used a > per directory configuration like documented? > > The reason I'm asking is that I have a legacy web app which I would > like to host in different versions under the same VirtualHost, but > that doesn't work if the same Perl interpreter is used for various > reasons. > > [1]: http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ > > Mit freundlichen Grüßen, > > Thorsten Schöning > > -- > Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de > AM-SoFT IT-Systeme http://www.AM-SoFT.de/ > > Telefon...........05151- 9468- 55 > Fax...............05151- 9468- 88 > Mobil..............0178-8 9468- 04 > > AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln > AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow > > -- John Dunlap *CTO | Lariat * *Direct:* *j...@lariat.co <j...@lariat.co>* *Customer Service:* 877.268.6667 supp...@lariat.co