Welcome Guest, Not a member yet? Register   Sign In
Routing discrepancies
#1

[eluser]stevefink[/eluser]
Hi folks,

Just curious - if two servers are running the same exact code base, what're some of the reasons that routing on:

http://serverA/foo <-- will work
http://serverB/foo <-- will say it does not exist?

routes.php is set verbatim.
config.php has the proper base_url as well as index.php removed from $config['index_page'].

.htaccess is verbatim in both document root's and mod_rewrite was confirmed enabled on both servers via a phpinfo() apache2handler query.

serverB keeps sending me a 404 though. Weird. :-)

If I do http://serverB/index.php/foo, results are successful. That makes me inclined to believe the issue is with Apache and mod_rewrite.

I'll keep hunting, but definitely appreciate any feedback!
#2

[eluser]Michael Wales[/eluser]
Definitely sounds like an Apache configuration issue.

Is uri_protocol (config.php) the same between the two apps?
#3

[eluser]ejangi[/eluser]
What about like caching at some point... (in CI or PHP maybe?) - I dunno, I may be just talkin crap...




Theme © iAndrew 2016 - Forum software by © MyBB