URL rewrite - type function for one directory?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

URL rewrite - type function for one directory?

Steve Upton

Hi All (again),

still working on our API and I'm looking for a way to handle file-less URLs "locally", as in just that folder.

I have a default file name set for the site and when I call the API URL "to the folder" it gets returned properly.

But if I put anything RESTful on the end of the URL it throws an error back to the root error.lasso file.

I'm hoping to avoid any site-wide functions as I really don't want to introduce different behavior across the (complicated) site if I can help it…

If I had a choice I'd put a local error.lasso file to deal with the URLs terminating in that folder but that doesn't seem available.

anyone?

thanks,

regards

Steve Upton



#############################################################

Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: URL rewrite - type function for one directory?

stevepiercy
This post may help.  There's several methods for "clean or virtual URLs" in that thread.
http://lasso.2283332.n4.nabble.com/URL-Design-and-periods-tt3146639.html#a3146667

--steve


On 6/27/13 at 4:17 PM, [hidden email] (Steve Upton) pronounced:

> Hi All (again),
>
> still working on our API and I'm looking for a way to handle file-less URLs
> "locally", as in just that folder.
>
> I have a default file name set for the site and when I call the API URL "to the
> folder" it gets returned properly.
>
> But if I put anything RESTful on the end of the URL it throws an error back to the
> root error.lasso file.
>
> I'm hoping to avoid any site-wide functions as I really don't want to introduce
> different behavior across the (complicated) site if I can help it…
>
> If I had a choice I'd put a local error.lasso file to deal with the URLs
> terminating in that folder but that doesn't seem available.
>
> anyone?
>
> thanks,
>
> regards
>
> Steve Upton
>
>
>
> #############################################################
>
> Attend the Lasso Developer Conference 2013!
> Sept 12-14, 2013 in Niagara Falls, Canada
> http://www.lassosoft.com/LDC-niagara-falls-2013
>
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy               Web Site Builder               Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>


#############################################################

Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>