Welcome Guest, Not a member yet? Register   Sign In
trying to remove index.php from url and getting 500 error
#1

[eluser]matches[/eluser]
Hi,

I am trying to remove the index.php from the url and getting a 500 error.

I have changed:

Code:
$config['index_page'] = "index.php";

To

Code:
$config['index_page'] = "";


and

Code:
$config['uri_protocol']    = "AUTO";


To

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


and this is the content of my .htaccess file:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

I am running this on kubuntu 9.4, php5

Thanks for any help!


Messages In This Thread
trying to remove index.php from url and getting 500 error - by El Forum - 11-10-2009, 10:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB