|
Search tenon.com
Thanks to:
|
|
WebTen
Re: Lasso to process all requests
>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
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
___________________________________________________________________
hEARd
Postal Address:
hEARd
c/o 128 The Entrance Rd
The Entrance
NSW 2261
Australia
Internet -
WWW:
http://heard.com.au or http://www.ozemail.com.au/~hmag
http://hosting.heard.com.au
Interactive Message Board - http://heard.com.au/wwwboard/
EMAIL: (checked every Thursday & Sunday, sometimes more often)
hmag@xxxxxxxxxxxxxx
-----------------------------------------------
Non profit promotion for new music - since 1994
-----------------------------------------------
Also, check out the Educate site - http://www.educate.net.au
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|