Welcome Guest, Not a member yet? Register   Sign In
Routing issue
#8

[eluser]Nalorin[/eluser]
Quote:i just add to uncomment this line on http.conf

LoadModule rewrite_module modules/mod_rewrite.so


problem solved

It's odd that removing the mod_rewrite module would fix a problem with rewriting not happening properly.

Quote:when i try http://dev.website.local/index.php/login it works

but when i try http://dev.website.local/login i get apache 404…weird

Since the first line works, your codeigniter is working properly. The second one not working means that you don't have the proper rewrite rules (see noctrum's suggestions above - the ? should not be there unless you're using $config['uri_protocol'] = "QUERY_STRING";

If the second line is not working properly, try the uri_protocol "REQUEST_URI", and each of the others, to see if one of them works.

Also, check to ensure that in config.php
Code:
$config['index_page'] = "";

Give those things a shot and see if it makes your URLs much nicer Wink


Messages In This Thread
Routing issue - by El Forum - 09-13-2010, 09:09 AM
Routing issue - by El Forum - 09-13-2010, 09:12 AM
Routing issue - by El Forum - 09-13-2010, 09:15 AM
Routing issue - by El Forum - 09-13-2010, 09:17 AM
Routing issue - by El Forum - 09-13-2010, 09:21 AM
Routing issue - by El Forum - 09-13-2010, 09:26 AM
Routing issue - by El Forum - 09-13-2010, 12:58 PM
Routing issue - by El Forum - 09-14-2010, 01:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB