Welcome Guest, Not a member yet? Register   Sign In
Map another URL to a controller method
#1

[eluser]Unknown[/eluser]
I would like to set up my application so that going to http://example.com/param would be exactly the same as going to http://mysite.com/controller/method/parameter. http://mysite.com/ is the actual application, whereas http://example.com/ can only access a certain method in a certain controller and pass a single parameter.

If it makes any difference, http://example.com/param is going to perform some data capture and then redirect the user to a page on http://mysite.com/.

Any idea how I can do this? Am I correct in assuming I will need to add some mod_rewrite rules?




Theme © iAndrew 2016 - Forum software by © MyBB