routing doesn't work, shows 404 error

#3
[eluser]netrox[/eluser]
The problem has been solved thanks to Tim on stackoverflow.com... simply removing the initial slash in /index.php in .htaccess file solved the problem.

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

has been changed to this

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

Note that the initial slash in index.php was removed. That solved the routing problem.

Problem and solution at this link:
http://stackoverflow.com/questions/34019...ting-right


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.