Steve Piercy - Web Site Builder Methods for Handling 404s in Knop
Apr 12, 2010; 00:17
Steve Piercy - Web Site Builder
Methods for Handling 404s in Knop
How do you handle 404s with Knop?
I'm using virtual URLs in Knop. Is there a better way to determine whether the request is within the nav object?
_library/lib__global.inc ------------------------ [ var('rfp') = response_filepath; if($nav->keymap >> ($rfp->split('/')->get(2))); // request is within the nav object else; // do 404 stuff /if; ]
--steve
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Sep 12
Steve Piercy - Web Site Builder Re: Methods for Handling 404s in Knop
Sep 12, 2010; 02:35
Steve Piercy - Web Site Builder
Re: Methods for Handling 404s in Knop
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!