Newbie need help! |
[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,
[eluser]Majd Taby[/eluser]
i had that same problem, what do you have base_url set to in config.php? ps. i can't remember exactly if it's base_url option you have to fix...but it was something in config.php
[eluser]LAMPguru[/eluser]
Thank you, It worked! Looking forward to use CodeIgniter for my next big project, which is a international website for a non profit.
[eluser]LAMPguru[/eluser]
I will, the project is about entrepreneurship around the world, It will be launch in over 100 countries with about 1000+ partners, which include the British Government, the US state department and many more private partners. NOTE: this is not a government project, I was also looking to include online partners from the open source communities. If you are interested let me know!
[eluser]bijon[/eluser]
Hi , Is your application Open source? However I am interested on your project. Thanks Saidur Rahman http://saidur.wordpress.com
[eluser]ribe[/eluser]
and dont forget to put 'http://' in y base url in config file. |
Welcome Guest, Not a member yet? Register Sign In |