Welcome Guest, Not a member yet? Register   Sign In
URL Rewriting doesn't work anymore (codeigniter 2.0 official release)
#1

[eluser]DarKDinDoN[/eluser]
Hi !

I just downloaded the new version of this awesome framework ! (Thanks bye the way :-) )

I tried to update my application (from the old 2.0) but for some reasons the site broke ...
After some tests, I figured out where the problem come from :

If I do a simple installation of CI with an extra .htaccess file like this :

Code:
RewriteRule ^app/(.*)$ index.php/$1 [L]

and these config vars :

Code:
$config['base_url']    = "http://example.com/";

$config['index_page'] = "";

Then accessing it

Code:
http://www.example.com/app/
or
http://www.example.com/app/welcome/

I get a 404 error codeigniter's page. By doing this the same way with the 2.0 beta (the old one), no errors at all ...

Is it normal ?

PS: I tested it on a local server...


Messages In This Thread
URL Rewriting doesn't work anymore (codeigniter 2.0 official release) - by El Forum - 01-28-2011, 05:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB