Re: Module preloading on virtual hosts
demerphq <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CANgJU+XrM62EaK6y9ks-O6bemxCLX_cZU3gFNCD9MAbD3w7duA@mail.gmail.com> |
On 25 October 2012 16:26, Randolf Richardson <[email protected]> wrote: >> Hello, >> >> I've problem with preloading JSON module on apache virtual hosts. I've >> asked about that on #perl-help and #modperl IRC channels and i was advised >> to ask my question here. I've described my setup with config files: >> http://sanchez.wasilkow.pl/json-problem.html - what causes that situation? >> And, if possible, how can I make it work without changing code? > > I find that I hav to do a little extra with the Image::Magick module > by using the LoadFile directive to reference its .so file directly > (before and outside of any VirtualHost stanzas), and then the > PerlModule directive will work as usual within the VirtualHost > stanzas where it's needed. Ive never heard of that before. Can you explain a bit more? Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"