Welcome Guest, Not a member yet? Register   Sign In
Newbie need help!
#1

[eluser]LAMPguru[/eluser]
Hi all,

I've been using codeIgniter for about 6 hours, and I like it so far.
I have one small problem, when I click on a link to either go to a new page or a simple submit button, I would get this:
ex: http://domain.com/index.php/article/index.php/article/5,


here's the scenario:
1) I'm on this page
http://domain.com/index.php/article/

2) I click on article 5

3) instead of going to http://domain.com/index.php/article/5, I would get http://domain.com/index.php/article/index.php/article/5

I'm running codeigniter on a apache server with load mod_rewrite enable and I also added the .htaccess file in the root folder with the basic rewrite directions.
Here's the rewrite file info:

##RewriteEngine on
##RewriteCond $1 !^(index\.php|user_guide|robots\.txt)
##RewriteRule ^(.*)$ /index.php?/$1 [L]


Thanks for you help,


Messages In This Thread
Newbie need help! - by El Forum - 09-29-2007, 04:53 PM
Newbie need help! - by El Forum - 09-29-2007, 05:34 PM
Newbie need help! - by El Forum - 09-29-2007, 05:41 PM
Newbie need help! - by El Forum - 09-29-2007, 05:43 PM
Newbie need help! - by El Forum - 09-29-2007, 05:58 PM
Newbie need help! - by El Forum - 09-30-2007, 02:33 AM
Newbie need help! - by El Forum - 07-05-2008, 10:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB