• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot remove index.php

#1
[eluser]Unknown[/eluser]
When I try to remove index.php
and access controller: mysite.com/admin
I keep getting Internal Server Error.

.htaccess
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /code/

RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ index.php?/$1 [L]

RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ index.php?/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Site config
Code:
<Directory /home/mysite.com/public_html/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>

config
Code:
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';


Messages In This Thread
Cannot remove index.php - by El Forum - 09-07-2012, 11:21 AM
Cannot remove index.php - by El Forum - 09-08-2012, 12:57 AM
Cannot remove index.php - by El Forum - 09-08-2012, 06:16 PM
Cannot remove index.php - by El Forum - 09-08-2012, 07:19 PM
Cannot remove index.php - by El Forum - 09-09-2012, 03:04 AM
Cannot remove index.php - by El Forum - 09-09-2012, 03:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.