Sharing ASP Code Library Between Subdomains
Posted on 2007-11-18
I have one master website (mydomain.co.uk), and am building a regionalised website network. There will be a separate website for each region:
There will be close to 40 subdomains in all.
There will be a central database, and central admin/cms system, but each sub domain will display content relevant to the region/sub domain.
I have not much experience with sub domains, and as this is a large project with minimal staffing, I need to get this right. I need to minimize the amount of administration and coding work that is subsite-dependent. For example I don't want to maintain separate sub folders of asp include files (my code library). I want to use a central location that all sub domains can access, without jeopardizing the folder security on the web server.
The web server is iis6 running on a win2003 box, and the application is Classic ASP / SQL 2000.
My questions really are:
1) Is there a better overall solution to what I am trying to achieve?
2) How can I safely share a common library of application files (css, js, asp, graphics)
3) Maintain a separate application (global.asa) for each sub domain, but also utilize a central global.asa?