How to implement multiple sites using same code on a single apache server?

I have a mod_cgi code “site.py” which is used to serve a website. I’m running several instances of this website on a single apache server, each instance has its onwn config file. Currently my apache configuration (httpd.conf) contains ScriptAlias /siteA /path/to/mainA.py # loads configA.txt then runs site.py ScriptAlias /siteB /path/to/mainB.py # loads configB.txt then runs…

Details