CodeIgniter usuwa index.php z adresu URL
Moje aktualne adresy URL wyglądają tak[mysite]index.php/[rest of the slug]
.
Chcę się rozebraćindex.php
z tych adresów URL.
mod_rewrite
jest włączony na moim serwerze apache2. Wconfig
, $config['index_page'] = '';
Mój główny autor kodu.htaccess
plik zawiera,
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Ale nadal nie działa. Gdzie się mylę?