|Perl Monk, Perl Meditation|
mod_perl, and weird cachingby ultranerds (Friar)
|on Feb 04, 2014 at 15:27 UTC||Need Help??|
ultranerds has asked for the
wisdom of the Perl Monks concerning the following question:
Hopefully its ok to ask this question here, as I'm running out of ideas! First of all, I have 2 sites on my dedicated server - both I would like to run under mod_perl. The server is Apache2, is that helps.
Now - if I just have one site under mod_perl, all works fine. As soon as I add the 2nd one - I start seeing content from the other site "leaking" into the other site!
My configs are pretty much the same (just the path + userid + domain are changed):
Now, as I said - that works fine with just one domain. As soon as I add the 2nd one, I start to see variables being passed along wrong (incorrect image URLs, etc)
The only thing I can think of - is that we use the same module names... ie
Notice the folder names are different, but they would both translate as Plugins::Utils.
Now, the question is - how can I stop this "sharing" happening? The accounts are totally separate users, and shouldn't be sharing anything (if you try and change another accounts file, you get a permissions error.. which is totally how it should be)
Any suggestions? Its driving me up the wall only being able to run 1 site under mod_perl, without these undesired effects :/