Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: mod_perl sharing modules with other accounts when I don't want it to

by wazoox (Prior)
on Mar 19, 2019 at 17:32 UTC ( #1231447=note: print w/replies, xml ) Need Help??


in reply to mod_perl sharing modules with other accounts when I don't want it to

From mod_perl documentation, it appears that you may be missing additional parameters:

<VirtualHost ...> PerlOptions +Clone PerlInterpStart 2 PerlInterpMax 2 </VirtualHost>

Default is always to share the perl interpreter.

  • Comment on Re: mod_perl sharing modules with other accounts when I don't want it to
  • Download Code

Replies are listed 'Best First'.
Re^2: mod_perl sharing modules with other accounts when I don't want it to
by ultranerds (Hermit) on Mar 20, 2019 at 07:12 UTC
    Thanks. So are you suggesting I just put in:

    PerlOptions +Clone PerlInterpStart 2 PerlInterpMax 2


    Or merge it with something like:

    PerlOptions +ParseHeaders +Parent PerlSwitches -Mlib=/home/steampunkcom/web/foo.co.uk/lib


    Also, should the PerlOptions be in the <VirtualHost>, or <Directory> . I'm pretty sure I tried the +Clone bit, but it still seemed to have the same issue of sharing with other accounts

    Thanks

    Andy

      The perl interpreter options only apply at the vhost level. As the default is "always share", I'm pretty sure you must set these options for all vhosts, too.

        Thanks - I'm pretty sure I have done that already, unless I'm missing something?

        site1: http://pastebin.com/1R2xeaxh
        site2: http://pastebin.com/LxXcsyxp

        I've made sure mod_perl isn't enabled for any of the other sites on the server, so it should just be these 2 using it.

        Thanks

        Andy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1231447]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-01-22 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?