Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

WebTen

Re: Lasso to process all requests

To: webten@xxxxxxxxxxxxxxx
Subject: Re: Lasso to process all requests
From: James Harvard <james.tech.lists@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Apr 2002 12:21:19 +0100
Thanks, but that's not quite what I was after.  I do what you suggest sometimes 
so that I can have a Lasso driven home page for a site.

On reflection I don't think my subject line describes the problem accurately.  
What I want to achieve (by a more elegant method than my current solution!) is 
for all requests to the virtual host to be processed by *a single Lasso file*.

If you take the sequence of events from my work-around that I set out in my 
original e-mail, I think it should be possible to cut straight to step #3, but 
I can't figure out how to configure this in WT.

TIA,

James Harvard

>Hi again,
>       I think it wuld be a matter of adding the .lasso file in the
>Virtual Host config alongside where the index.html file is or completely
>replacing index.html in that config with index.lasso or similar - not using
>Lasso, I can't tell you any more than that.
>
>Bye for now, Terry Allen

> >I want all requests to a virtual host to be processed by Lasso.  (The idea
>>being that when someone goes to www.myhost.com/foobar  I can have lasso
>>catch the 'foobar' part to do a search in a db.)
>>
>>I started off by defining a .lasso file as the 404 error file for the v
>>host & a custom Lasso error page, but that must be a 'non-optimal' way of
>>doing it, because it must do something like:
>>
>>1) WT looks for the file /foobar and can't find it
>>2) WT invokes '404.lasso' for error page
>>3) Lasso gets a request and looks for /foobar - can't find it
>>4) Lasso finally runs the custom Error.lasso file that I've defined
>>
>>If I understand the WT docs correctly, I would need to define the Lasso
>>'Action Handler' as a pre-processor for the v host.  However, there
>>doesn't appear to be an 'Action' defined for Lasso.  I can only imagine
>>that WT knows to process .lasso files with Lasso from loading the plug-in
>>- there certainly doesn't appear to be any Admin Server setting that
>>controls this.
>>
>>TIA,
>>
> >James Harvard

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists