Welcome Guest, Not a member yet? Register   Sign In
Problems with index.php removal !


I'm developing a site locally and it's working fine. I want to remove the index.php from the URL and tried 2-3 methods mentioned in the forums and another site, all not working.

I hoe to get the answer here......

So here's me setup. My localsite is accessed as: http://shen

$config['index_page'] = "";
$config['uri_protocol']    = "REQUEST_URI";

.htaccess file, which resides on root of the website.
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

on Apache http.conf
LoadModule rewrite_module modules/mod_rewrite.so

<Directory />
Options All
AllowOverride All

If I browse to http://shen, home page does show up, but none of the other links. Weird thing is if I browse to http://shen/bio I get Apache 404 error page, but browsing to http://shen/index.php/bio displays CI's 404 page !

Apache restarted.....

Totally confused!

Your help is appreciated.

Messages In This Thread
Problems with index.php removal ! - by El Forum - 03-10-2011, 01:34 PM

Theme © iAndrew 2016 - Forum software by © MyBB