Multiple domains pointing to same CI application |
[eluser]Phil Sturgeon[/eluser]
The way I gave you above was a good way to keep your various sites easily manageable and scalable, but if you would like a "JUST databases" solution I have one of those too! Just make a database config group for each site, then automatically work out which group to use from the server name. Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); If you do it this way, make sure your htaccess redirects from http://NewYorkSite.com to http://www.NewYorkSite.com too ofc. Thats an easy one: Quote:RewriteEngine on |
Messages In This Thread |
Multiple domains pointing to same CI application - by El Forum - 12-05-2008, 09:30 PM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 09:57 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 10:15 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 11:00 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 03:56 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 06:42 AM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:07 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:35 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:55 PM
Multiple domains pointing to same CI application - by El Forum - 12-09-2008, 02:09 AM
|