atBegin code?

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

atBegin code?

Jolle Carlestam-2
I can't find the atBegin code needed for path to work. Is it because  
I don't search good enough or that it's not included?

HDB
Jolle

#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: atBegin code?

Johan Solve-2
At 11.18 +0100 2007-03-08, [hidden email] wrote:
>I can't find the atBegin code needed for path to work. Is it because I don't search good enough or that it's not included?

Not included.

This is in essence my atbegin startup code:

define_atbegin: {
        if: response_filepath -> (endswith: '.lasso') || response_filepath -> (endswith: '.lassoapp');
                // don't do anything for normal .lasso requests
        else: response_filepath -> (beginswith: '/knop/');
                // run site
                $__HTML_REPLY__ = include: '/knop/index.lasso';
                abort;
        /if;
}

You also need an apache config to send extension-less requests to Lasso, and you seem to need to allow .* as allowed file extension.

--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:[hidden email]
 (spam-safe email address, replace '-' with 'a')

#############################################################
This message is sent to you because you are subscribed to
the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
List archive http://lists.montania.se/Lists/knop/
(log in with your email and ConfirmationID as password, send message to
<[hidden email]> to get that ID)
Project homepage http://montania.se/projects/knop/
AIM chatroom knop aim:gochat?roomname=knop

Loading...