Knop on a server where legacy files exist

View: New views
3 Messages — Rating Filter:   Alert me  

Knop on a server where legacy files exist

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to configure a server for Knop that already has an
index.lasso file at the webroot.  Also I intend to use the param
method for URLs (it's IIS, pity me).  Would it be correct to
place all knop files into a folder in the webroot, then hit the
URL like so:

http://myhost.com/knopfolder/

and pages like so:

http://myhost.com/knopfolder/?mypath/tothe/page/

I see there is this in the index.lasso demo file:

     if: !(var_defined: 'siteroot');
         var: 'siteroot'=response_path;
     /if;

So I assume that would handle that setting, since I am not using
a URL handler, yes?

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Knop on a server where legacy files exist

by Johan Solve-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In your nav object, set -root='/knopfolder/' and -navmethod='param'.

The $siteroot var in the demo files is used to set -path in the navobject if you look in cfg__nav.

It's also used for absolute image paths and hard coded links.

At 05.16 -0700 2009-09-22, Steve Piercy - Web Site Builder wrote:

>I'm trying to configure a server for Knop that already has an index.lasso file at the webroot.  Also I intend to use the param method for URLs (it's IIS, pity me).  Would it be correct to place all knop files into a folder in the webroot, then hit the URL like so:
>
>http://myhost.com/knopfolder/
>
>and pages like so:
>
>http://myhost.com/knopfolder/?mypath/tothe/page/
>
>I see there is this in the index.lasso demo file:
>
>    if: !(var_defined: 'siteroot');
>        var: 'siteroot'=response_path;
>    /if;
>
>So I assume that would handle that setting, since I am not using a URL handler, yes?
>
>--steve
>
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>Steve Piercy               Web Site Builder
>Soquel, CA
><web@...>                  <http://www.StevePiercy.com/>
>
>
>--
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list <knop@...>.
>To unsubscribe, E-mail to: <knop-off@...>
>Send administrative queries to  <knop-request@...>
>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>Project homepage http://montania.se/projects/knop/
>Google Code has the latest downloads at http://code.google.com/p/knop/


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

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Knop on a server where legacy files exist

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Got it.  Thank you!

--steve


On 9/22/09 at 3:33 PM, inbox_js@... (Johan Solve) pronounced:

> In your nav object, set -root='/knopfolder/' and -navmethod='param'.
>
> The $siteroot var in the demo files is used to set -path in the navobject if you
> look in cfg__nav.
>
> It's also used for absolute image paths and hard coded links.
>
> At 05.16 -0700 2009-09-22, Steve Piercy - Web Site Builder wrote:
> >I'm trying to configure a server for Knop that already has an index.lasso file at
> the webroot.  Also I intend to use the param method for URLs (it's IIS, pity me).  
> Would it be correct to place all knop files into a folder in the webroot, then hit
> the URL like so:
> >
> >http://myhost.com/knopfolder/
> >
> >and pages like so:
> >
> >http://myhost.com/knopfolder/?mypath/tothe/page/
> >
> >I see there is this in the index.lasso demo file:
> >
> >    if: !(var_defined: 'siteroot');
> >        var: 'siteroot'=response_path;
> >    /if;
> >
> >So I assume that would handle that setting, since I am not using a URL handler,
> yes?
> >
> >--steve
> >
> >-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> >Steve Piercy               Web Site Builder
> >Soquel, CA
> ><web@...>                  <http://www.StevePiercy.com/>
> >
> >
> >--
> >#############################################################
> >This message is sent to you because you are subscribed to
> >the mailing list <knop@...>.
> >To unsubscribe, E-mail to: <knop-off@...>
> >Send administrative queries to  <knop-request@...>
> >List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
> >Project homepage http://montania.se/projects/knop/
> >Google Code has the latest downloads at http://code.google.com/p/knop/
>
>
> --
>      Johan Sölve    [FSA Member, Lasso Partner]
>      Web Application/Lasso/FileMaker Developer
>      MONTANIA SOFTWARE & SOLUTIONS
> http://www.montania.se   mailto:joh-n@...
>  (spam-safe email address, replace '-' with 'a')
>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy               Web Site Builder               Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/