Welcome Guest, Not a member yet? Register   Sign In
SOLVED - Routing works but also gives apache 404 error
#1

[eluser]DrDave[/eluser]
I have a custom route defined in my application so that "http://www.site.com/details/id" is routed to the details controller, index method like so:

Code:
$route['details/(:num)'] = "details/index/$1";

It works just fine, but I noticed that my apache error log is filling up with 404's stating that /path/to/details doesn't exist.

I checked in firebug, and it is 404'ing on the id. For example if I enter "http://www.site.com/details/50" it tries to get "50" and can't find it, yet the page still loads fine and everything works.

Has anyone run across this before? Any suggestions on how I can stop it?

Thanks!


Messages In This Thread
SOLVED - Routing works but also gives apache 404 error - by El Forum - 08-09-2011, 01:39 PM
SOLVED - Routing works but also gives apache 404 error - by El Forum - 08-09-2011, 01:50 PM
SOLVED - Routing works but also gives apache 404 error - by El Forum - 08-09-2011, 05:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB