Displaying 1 result from an estimated 1 matches for "virtualhost2".
Did you mean:
virtualhost
2006 Jul 31
4
switching database dynamically based on incoming request
...config files
that pull in separate style sheets.
To remove this replication I''d like to have a single codebase, but
adjust the databases and config settings based on what site the user is
trying to view, e.g.
http://virtualhost1.us.com ==> use virtualhost1 db & stylesheets
http://virtualhost2.us.com ==> use virtualhost2 db & stylesheets
Currently the two virtual hosts map to two different directories that
both include the same version of our application, just with slightly
different configurations.
It seems fairly straightforward to make the config settings dynamic,
since we ca...