I also had big problems with the site links in the production environment (on the public host server) - URL not found… error 500 internal server error etc.
In my case the troubles were with URL strings and the web server itself.
It turns out that some web servers just do not allow a URL like ...index.php/something
It has to be like this to work: ...index.php?something
So, you should change the RewriteRule like this:
RewriteRule ^(.*)$ /index.php?$1 [L,QSA]
and everything runs fine now.
domfosnz - 01 October 2008 02:59 AM
I’m using XAMPP. The following worked for me:
$config['base_url'] = "http://127.0.0.1/rootfolder/"
$config['index_page'] = "";
Then in .htaccess:
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
I also configured apache to allow rewriting.