09-06-2013, 08:14 AM
[eluser]rafaelrp[/eluser]
Hello!
http://mysite.com/index.php/news works fine.
http://mysite.com/news doesn't work.
Configs:
.htaccess file in root folder in project
By default CI puts .htaccess file in all folders and subfolders, i have to remove it?
The server just send me a 404 error..
Thanks!
Hello!
http://mysite.com/index.php/news works fine.
http://mysite.com/news doesn't work.
Configs:
Quote:mod_rewrite: on
Using Ubuntu 13.04
$config['base_url'] = '';
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
.htaccess file in root folder in project
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
By default CI puts .htaccess file in all folders and subfolders, i have to remove it?
The server just send me a 404 error..
Thanks!