Welcome Guest, Not a member yet? Register   Sign In
uri routing, what do i missed?
#1

[eluser]zeratool[/eluser]
Hello,

I got a weird problem, on my local dev server, the custom routing is working(config/routes.php):

$route['workingpeople/article/(.+)*'] = "workingpeople/article/index/$1";

but on the live, it is not. What do i missed? Pls help.

Thanks
#2

[eluser]TheFuzzy0ne[/eluser]
[quote author="zeratool" date="1209389976"]Hello,

I got a weird problem, on my local dev server, the custom routing is working(config/routes.php):

$route['workingpeople/article/(.+)*'] = "workingpeople/article/index/$1";

but on the live, it is not. What do i missed? Pls help.

Thanks[/quote]

What happens?

Could it be an issue with the .htaccess file not redirecting to the index.php on your live site? I have a funny feeling that your setups may be slightly different.
#3

[eluser]zeratool[/eluser]
Hi, thanks for the response , but the weird thing is , im not talking about the front controller file(index.php) you're saying.
#4

[eluser]TheFuzzy0ne[/eluser]
Do you use an .htaccess file?
#5

[eluser]zeratool[/eluser]
yeah , thats why its working on the local server, wonder why isn't on the live, so in order for it to work:

1. have a mod_rewrite module (.so) for apache
2. AllowOverride All on httpd.conf
3. .htaccess file

anything i missed?

Thanks
#6

[eluser]TheFuzzy0ne[/eluser]
On your main site, is the site root in the actual Web root, or does it reside in a subdirectory?

I ask the same question of your development site - is that in the actual Web root, or in a subdirectory in the Web root.




Theme © iAndrew 2016 - Forum software by © MyBB