I have multiple sites working on one Server (running Ubuntu 12.04.4) and the sites all work fine. The issue I'm having trouble finding any information on is this: Is there a way to control the $ENV variable based on which site is being served?
For example: if the $ENV{'SERVER_NAME'} is set to example.com - and the site being view is foo.com, an older perl script is capturing the wrong value for foo.com. It would be best if I could control what the value of $ENV{'SERVER_NAME'} based on the site... is it possible?
Thank you...