0

I do everything is done but still not working. i don't know what wrong with me. I have do that mod_rewrite is enabled on my apache2 server. In config, $config['index_page'] = ''; and $config['uri_protocol'] = 'REQUEST_URI'; it is my base url $config['base_url'] = 'http://localhost/RB'; My codeignitor root .htaccess file contains,

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Alex John
  • 3
  • 1

1 Answers1

0

this is the code given on their official website.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
sauhardnc
  • 1,961
  • 2
  • 6
  • 16