Codeigniter, OpenID and .htaccess

I am trying to use the Codeigniter OpenID library and everything works fine with the default CI configuration without .htaccess.

When I delete index.php, changing config.phpand .htaccess, I get 404 Page not found when I try to check my openid ( http://ci.dlsb.eu/test/ )

Can someone tell me where I am going wrong?

config.php

$config['index_page'] = "";

.htaccess

RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
+5
source share
1 answer

RewriteRule PATH_INFO , , , .

, CodeIgniter :

RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php

CodeIgniter , , , $config['uri_protocol'] AUTO. , AUTO, REQUEST_URI.

+5

All Articles