Is there a way to define an ses route such that:
pattern="/file/:somePath"
matching a url like http:/myapp/file/dir1/dir2/blah.js would have the variable somePath in rc set to "dir1/dir2/blah.js"?
Thanks!
Is there a way to define an ses route such that:
pattern="/file/:somePath"
matching a url like http:/myapp/file/dir1/dir2/blah.js would have the variable somePath in rc set to "dir1/dir2/blah.js"?
Thanks!
well, not really because the / demarcate positions in the URL. Unless you encode them maybe
Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Looks like a trick question to me… it’s a JS file.
Jason Durham