News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ask About PHP:
Codeigniter Setting up multiple sites on one install
August 20, 2009 @ 09:03:26

On the Ask About PHP blog there's a quick tutorial looking at a setup to use the CodeIgniter framework to power multiple websites (in subdomains).

CI's default folder structure is really geared towards one site domain, and having both the application folder and the system folder visible to the browser is not exactly a secure approach. By configuring your install to support multiple sites, not only do you make the updating of the CI core easier, but also make the CI install more secure as a whole.

The example is on a Windows system, but the instructions are generic enough to work on any platform. They're using it under a XAMPP install, but the changes are all below the document root of that setup. You'll need to edit some of the config files and be able to update the Apache configuration to work with VirtualHosts

0 comments voice your opinion now!
codeigniter multiple subdomain tutorial


blog comments powered by Disqus

Similar Posts

MaltBlue.com: Zend Form Mastery with Zend_Config - Part 3, Standard Form & Element Options

Zend Developer Zone: Migrating applications from PHP 4 to Zend Core 2.5 w/support for IBM Informix

SitePoint PHP Blog: Risks and Challenges of Password Hashing

Brian Swan's Blog: Sorting Azure Table Entities by Timestamp with PHP

PHPMaster.com: Getting Started with Varnish


Community Events





Don't see your event here?
Let us know!


release podcast interview code introduction community symfony2 language threedevsandamaybe developer install testing list api laravel series framework unittest refactor opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework