[eluser]OES[/eluser]
Hi Chaps.
I am a complete newbie to ci so please be gentle.
I have just installed the basic package and all is working well as it should be.
But as with many posts n these forums I cannot remove the index.php file without getting 404 errors.
I am trying ci on a subdmain running apache2, php5 on the Ubunto distro.
I have removed the index.php from the congfig ie,
Code:
$config['index_page'] = "";
I have tried alot of different variations of the mod_rewrite. ie.
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
I cannot get any of these to work.
I know mod_rewrite is working on other domains.
I hope someone can advise before I have no hair left.
thanks in advance.