Welcome Guest, Not a member yet? Register   Sign In
mod_rewrite .htaccess helloworld

CodeIgniter at a Glance says CI has a Friendly Community of Users. so here
it goes.

Trying out the first controller helloworld and I keep getting the
domain.com/index.php I have reviewed five threads related to this and as
best as I can see I have adhered to /user_guide/general/urls.html How did I
screw it up as I keep getting the domain.com/index.php

CI has been located in domain.com/CI/
application & system folders have been located above web root

/home/username/public_html/ci/index.php has variables

line 59: $system_path = '/home/username/system';
line 75: $application_folder = '/home/username/application';
line 22: define('ENVIRONMENT', 'development');

/home/username/application/config/config.php has been

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config['base_url'] = '//domain.com/ci/';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
$config['url_suffix'] = '';

$config['enable_hooks'] = FALSE;
$config['subclass_prefix'] = 'MY_';
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger'] = 'd'; // experimental not curre
$config['log_threshold'] = 4;
$config['log_path'] = '';
$config['log_date_format'] = 'Y-m-d H:iConfused';
$config['cache_path'] = '';
/* End of file config.php */
/home/username/public_html/.htaccess has been defined

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Theme © iAndrew 2016 - Forum software by © MyBB