routing doesn't work, shows 404 error

#1
[eluser]netrox[/eluser]
I installed Apache for Windows. I bought CodeIgniter Professional and downloaded their source code. It said that I should put its .htaccess in the root folder of the website so I did. I set base URL to be http://127.0.0.1/kids/ where kids is the root folder of the website. It showed the homepage just fine. When I clicked on a link, it always gives the 404 error. It said, "The requested URL /index.php/welcome/cat/2 was not found on this server." I tried several possiblities of .htaccess in directories with no success. Inside the .htaccess, it instructs:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Explain why it's not working at all? I also checked configs.php and it seems ok as well. config['index_page'] is set to blank. I removed the .htaccess file and still same problem except that it said, "The requested URL /kids/welcome/cat/2 was not found on this server."

Two days have been wasted on trying to get it working and I am losing patience.


Messages In This Thread
routing doesn't work, shows 404 error - by El Forum - 08-03-2010, 08:35 PM
routing doesn't work, shows 404 error - by El Forum - 08-03-2010, 10:49 PM
routing doesn't work, shows 404 error - by El Forum - 08-03-2010, 11:07 PM
routing doesn't work, shows 404 error - by El Forum - 08-03-2010, 11:18 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.