Codeigniter Configuration
$autoload['libraries'] = array('database', 'email', 'session');
$autoload['helper'] = array('url', 'file', 'form');
$autoload['config'] = array('config');
$autoload['model'] = array();
$config['base_url'] = 'http://localhost/ProjectName/';
$config['index_page'] = '';
$config['url_suffix'] = '.html';
$config['encryption_key'] = 'Just a string';
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /citestmail/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'db_megpie',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);