Welcome Guest, Not a member yet? Register   Sign In
.htaccess
#1

[eluser]Unknown[/eluser]
about .htaccess, anad how to use in code igniter 2.1.4, the path of it and how can i remove the index.php from that.
#2

[eluser]hot_sauce[/eluser]
project: www/codeigniter/ ex. http://localhost/codeigniter/
htaccess
Options +FollowSymLinks
Options -Indexes
RewriteEngine On
RewriteBase /codeigniter/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php [L]

application/config/config.php file
$config['base_url'] = 'http://localhost/codeigniter/';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
$config['enable_query_strings'] = FALSE;




Theme © iAndrew 2016 - Forum software by © MyBB