Welcome Guest, Not a member yet? Register   Sign In
Entering only from route address
#12

[eluser]Aken[/eluser]
Routes is a poor solution, because unless you direct it to a 404-specific controller, it'll still be a valid URL.

If you're that serious about it, I would add a quick check to the controllers themselves that check the URI, and if it matches the non-routed URL, throw a 404. You can create a MY_Controller with a method inside it to make that as easy as one line in each controller.


Messages In This Thread
Entering only from route address - by El Forum - 10-30-2012, 12:44 AM
Entering only from route address - by El Forum - 10-30-2012, 02:13 AM
Entering only from route address - by El Forum - 10-30-2012, 02:59 AM
Entering only from route address - by El Forum - 10-30-2012, 04:31 AM
Entering only from route address - by El Forum - 10-30-2012, 06:44 AM
Entering only from route address - by El Forum - 10-30-2012, 07:01 AM
Entering only from route address - by El Forum - 10-30-2012, 07:13 AM
Entering only from route address - by El Forum - 10-30-2012, 05:37 PM
Entering only from route address - by El Forum - 11-02-2012, 09:40 AM
Entering only from route address - by El Forum - 11-02-2012, 11:15 AM
Entering only from route address - by El Forum - 11-02-2012, 11:30 AM
Entering only from route address - by El Forum - 11-03-2012, 04:51 AM
Entering only from route address - by El Forum - 11-03-2012, 09:59 AM
Entering only from route address - by El Forum - 11-03-2012, 11:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB