Re: [WebDNA] how to make webroot the start of path

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113350
interpreted = N
texte = 943 I never used [thisfile] before so I never noticed. I was probably using my [thisPage] solution before they ever introduced [thisfile]: [listwords delimiters=/&words=[thisurl]][text]thisPage=[word][/text][/listwords] I suppose you could create a function called [thisfile] that uses my code. Supposedly this approach will override WebDNA's built-in [thisfile] values, then you won't have to replace all your [thisfile] tags. How did you find out about [thisfile] anyways? It's not listed in the online docs from what I can see. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 01/13/2017 01:06 PM, Olin Lagon wrote: > Thanks Ken. Am using that. Works for the virtual host to get to > the right directory. But [thisfile] still has the full unix path. > Will look more today for a way to make this work. > > On Fri, Jan 13, 2017 at 2:53 AM, Kenneth Grome > > wrote: > > Use the Apache DocumentRoot directive: > > http://www.serverschool.com/dedicated-servers/apaches-documentroot-directive/ > > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration > > > > On 01/12/2017 09:35 PM, Olin Lagon wrote: > > Thanks. Was hoping to avoid that. I dev on this laptop but then > > host on another Ubuntu box that is running the server version. > > Must be something in Apache I can use. When I find it, I'll > > respond here. > > > > On Thu, Jan 12, 2017 at 4:31 PM, Stuart Tremain > > > >> wrote: > > > > Sounds like a global search & replace job. > > > > > > Kind regards > > > > Stuart Tremain > > Pharoah Lane Software > > AUSTRALIA > > webdna@idfk.com.au > > > > > > > > > > > > > > > >> On 13 Jan 2017, at 12:57, Olin Lagon > >> >> wrote: > >> > >> One problem moving to Ubuntu. My old site when I used > >> [include file=/xyz] xyz started at my web root. Now xyz > >> starts at /var/www/ which means all of the includes are now > >> broken. Anyway to map the start of my "root" to the > >> directory of my choice? > >> > >> Thanks > >> > >> -- > >> > >> Olin Lagon > >> olagon > >> --------------------------------------------------------- > >> This message is sent to you because you are subscribed to > >> the mailing list __. To unsubscribe, E-mail to: __ > archives: > >> http://mail.webdna.us/list/talk@webdna.us > > >> > Bug Reporting: > >> support@webdna.us > >____ > > > > --------------------------------------------------------- This > > message is sent to you because you are subscribed to the > > mailing list __. To unsubscribe, E-mail to: __ archives: > > http://mail.webdna.us/list/talk@webdna.us > > > > Bug Reporting: > > support@webdna.us > > > > > > > > > > > > -- > > > > Olin Lagon > > olagon > > --------------------------------------------------------- This > > message is sent to you because you are subscribed to the mailing > > list . To unsubscribe, E-mail to: archives: > > http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: > > support@webdna.us > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list >. > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us > > Bug Reporting: support@webdna.us > > > > > -- > > Olin Lagon > olagon > --------------------------------------------------------- This > message is sent to you because you are subscribed to the mailing > list . To unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: > support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] how to make webroot the start of path (Olin Lagon 2017)
  2. Re: [WebDNA] how to make webroot the start of path (Kenneth Grome 2017)
  3. Re: [WebDNA] how to make webroot the start of path (Olin Lagon 2017)
  4. Re: [WebDNA] how to make webroot the start of path (Kenneth Grome 2017)
  5. Re: [WebDNA] how to make webroot the start of path (Olin Lagon 2017)
  6. Re: [WebDNA] how to make webroot the start of path (Stuart Tremain 2017)
  7. [WebDNA] how to make webroot the start of path (Olin Lagon 2017)
943 I never used [thisfile] before so I never noticed. I was probably using my [thisPage] solution before they ever introduced [thisfile]: [listwords delimiters=/&words=[thisurl]][text]thisPage=[word][/text][/listwords] I suppose you could create a function called [thisfile] that uses my code. Supposedly this approach will override WebDNA's built-in [thisfile] values, then you won't have to replace all your [thisfile] tags. How did you find out about [thisfile] anyways? It's not listed in the online docs from what I can see. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 01/13/2017 01:06 PM, Olin Lagon wrote: > Thanks Ken. Am using that. Works for the virtual host to get to > the right directory. But [thisfile] still has the full unix path. > Will look more today for a way to make this work. > > On Fri, Jan 13, 2017 at 2:53 AM, Kenneth Grome > > wrote: > > Use the Apache DocumentRoot directive: > > http://www.serverschool.com/dedicated-servers/apaches-documentroot-directive/ > > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration > > > > On 01/12/2017 09:35 PM, Olin Lagon wrote: > > Thanks. Was hoping to avoid that. I dev on this laptop but then > > host on another Ubuntu box that is running the server version. > > Must be something in Apache I can use. When I find it, I'll > > respond here. > > > > On Thu, Jan 12, 2017 at 4:31 PM, Stuart Tremain > > > >> wrote: > > > > Sounds like a global search & replace job. > > > > > > Kind regards > > > > Stuart Tremain > > Pharoah Lane Software > > AUSTRALIA > > webdna@idfk.com.au > > > > > > > > > > > > > > > >> On 13 Jan 2017, at 12:57, Olin Lagon > >> >> wrote: > >> > >> One problem moving to Ubuntu. My old site when I used > >> [include file=/xyz] xyz started at my web root. Now xyz > >> starts at /var/www/ which means all of the includes are now > >> broken. Anyway to map the start of my "root" to the > >> directory of my choice? > >> > >> Thanks > >> > >> -- > >> > >> Olin Lagon > >> olagon > >> --------------------------------------------------------- > >> This message is sent to you because you are subscribed to > >> the mailing list __. To unsubscribe, E-mail to: __ > archives: > >> http://mail.webdna.us/list/talk@webdna.us > > >> > Bug Reporting: > >> support@webdna.us > >____ > > > > --------------------------------------------------------- This > > message is sent to you because you are subscribed to the > > mailing list __. To unsubscribe, E-mail to: __ archives: > > http://mail.webdna.us/list/talk@webdna.us > > > > Bug Reporting: > > support@webdna.us > > > > > > > > > > > > -- > > > > Olin Lagon > > olagon > > --------------------------------------------------------- This > > message is sent to you because you are subscribed to the mailing > > list . To unsubscribe, E-mail to: archives: > > http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: > > support@webdna.us > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list >. > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us > > Bug Reporting: support@webdna.us > > > > > -- > > Olin Lagon > olagon > --------------------------------------------------------- This > message is sent to you because you are subscribed to the mailing > list . To unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: > support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Country & Ship-to address & other fields ? (1997) psst (1997) Searching Multiple DBs (1997) [WebDNA] [sendmail] inside search (2016) OLD ORDERS (1998) AppleScript question (1997) Exclamation point (1997) [OT] ImageMagick error (2004) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Server Load Tester (2000) best way to test for the existence of a parameter in a url (2003) OT: Poll Please (2002) BUG in [showif] using ^ (contains) (1997) [LOOKUP] (1997) [WebDNA] Greetings to all (2016) WC2f3 (1997) suffix mapping, use of cache, etc. (1997) webten vs. webstar (1998) WebDNA 5 - Function test weirdness or ? (2003) &fieldsdir=ra truely random?? (2000)