Welcome Guest, Not a member yet? Register   Sign In
elimination of the index.php [Problem solved]
#1

(This post was last modified: 02-12-2017, 03:30 AM by alf78fr.)

Hello,

I followed not badly of tutorial for the configuration but in my URL I always have the index.php present.

here my file .htacess

PHP Code:
RewriteEngine On
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*)$ index.php/$[L

here my file config.php
PHP Code:
$config['base_url'   "http://www.leleu-nom.fr";





/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = '';

/* 

and the example of a URL : http://www.leleu-nom.fr/index.php/homepage/curriculum

thank you for your assistance
French citizen (please excuse me for my english Confused )
Having a good knowledge of the PHP but novice with CodeIgniter
I use CodeIgniter 3



Reply


Messages In This Thread
elimination of the index.php [Problem solved] - by alf78fr - 02-11-2017, 10:33 AM
RE: elimination of the index.php - by InsiteFX - 02-11-2017, 02:59 PM
RE: elimination of the index.php - by alf78fr - 02-12-2017, 03:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB