I never used [thisfile] before s=o I never noticed.=C2=A0 I was probably
using my [thisPage] solution before they ever introduced [thisfile]:
[listwords
delimiters=3D/&words=3D[thisurl]][text]thisPage=3D[word][/text][/<=wbr>listwords]
I suppose you could create a function called [thisfile] that uses
my code.=C2=A0 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?=C2=A0 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
> <ken@webdnasolutions.com <mailto:ken@webdnasolutions.com >> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Use the Apache DocumentRoot directive:
>
>=C2=A0 =C2=A0 =C2=A0http://www.serverschool.com/dedicated-servers/apaches- documentro=ot-directive/
>=C2=A0 =C2=A0 =C2=A0<http://www.serverschool.com/dedicated-servers/apaches- >docume=ntroot-directive/
>
>=C2=A0 =C2=A0 =C2=A0Regards,
>=C2=A0 =C2=A0 =C2=A0Kenneth Grome
>=C2=A0 =C2=A0 =C2=A0WebDNA Solutions
>=C2=A0 =C2=A0 =C2=A0http://www.webdnasolutions.com
>=C2=A0 =C2=A0 =C2=A0Web Database Systems and Linux Server Administratio=n
>
>
>
>=C2=A0 =C2=A0 =C2=A0On 01/12/2017 09:35 PM, Olin Lagon wrote:
>=C2=A0 =C2=A0 =C2=A0> Thanks. Was hoping to avoid that. I dev on thi=s laptop but then
>=C2=A0 =C2=A0 =C2=A0> host on another Ubuntu box that is running the= server version.
>=C2=A0 =C2=A0 =C2=A0> Must be something in Apache I can use. When I =find it, I'll
>=C2=A0 =C2=A0 =C2=A0> respond here.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> On Thu, Jan 12, 2017 at 4:31 PM, Stuart Tremai=n
>=C2=A0 =C2=A0 =C2=A0> <webd=na@idfk.com.au <mailto:webdna@=idfk.com.au>
>=C2=A0 =C2=A0 =C2=A0<mailto:webdna@idfk.com.au <mailto:webdna@idfk.com.au>>> wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Sounds like a global search= & replace job.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Kind regards
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Stuart Tremain
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Pharoah Lane Software
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0AUSTRALIA
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0webdna@idfk.com.au <mailto:webdna@idfk.com.au>
>=C2=A0 =C2=A0 =C2=A0<mailto:webdna@idfk.com.au <mailto:webdna@idfk.com.au>>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0On 13 Jan 2017, at 12:5=7, Olin Lagon <olin.lagon@gmail.=com <mailto:olin.lagon@gmail=..com>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2==A0<mailto:olin.lagon@gmail.com<=/a> <mailto:olin.lagon@gmail.com=>>> wrote: >=C2=A0 =C2=A0 =C2=A0<mailto:support@webdna.us <mailto:s=upport@webdna.us>>___
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0One problem moving to U=buntu. My old site when I used
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0[include file=3D/xyz] x=yz started at my web root. Now xyz
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0starts at /var/www/ whi=ch means all of the includes are now
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0broken. Anyway to map t=he start of my "root" to the
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0directory of my choice?=
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0Thanks
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0Olin Lagon
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0olagon <http://twitt=er.com/olagon>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0-----------------------=----------------------------------
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0This message is sent to= you because you are subscribed to
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0the mailing list __. To= unsubscribe, E-mail to: __
>=C2=A0 =C2=A0 =C2=A0archives:
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0http://=mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0<htt=p://mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0support@webdna.us <mailto:support@webdna.us>_
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0---------------------------=------------------------------ This >=C2=A0 =C2=A0 =C2=A0<mailto:support@webdna.us <mailto:s=upport@webdna.us>>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0message is sent to you beca=use you are subscribed to the
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0mailing list __. To unsubsc=ribe, E-mail to: __ archives:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0http://mail=..webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0<http://=mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0support@webdna.us <mailto:support@webdna.us>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> --
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Olin Lagon
>=C2=A0 =C2=A0 =C2=A0> olagon <http://twitter.com/olagon>>=C2=A0 =C2=A0 =C2=A0> -----------------------------------------=---------------- This >=C2=A0 =C2=A0 =C2=A0<http://=mail.webdna.us/list/
>=C2=A0 =C2=A0 =C2=A0> message is sent to you because you are subscri=bed to the mailing
>=C2=A0 =C2=A0 =C2=A0> list . To unsubscribe, E-mail to: archives:
>=C2=A0 =C2=A0 =C2=A0> http://mail.webdna.us/list/talk@webdna.us talk@webdna.us > Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0> support@w=ebdna.us <mailto:support@webdna=..us>
>=C2=A0 =C2=A0 =C2=A0---------------------------=------------------------------ >=C2=A0 =C2=A0 =C2=A0the mailing list <talk@webdna.us <mailto:=talk@webdna.us>>.
>=C2=A0 =C2=A0 =C2=A0This message is sent to you because you are subscri=bed to
>=C2=A0 =C2=A0 =C2=A0To unsubscribe, E-mail to: <talk-leave@webdna.us
>=C2=A0 =C2=A0 =C2=A0<mailto:talk-leave@webdna.us>>>=C2=A0 =C2=A0 =C2=A0archives: <=a href=3D"http://mail.webdna.us/list/talk@webdna.us" rel=3D"noreferrer" tar=get=3D"_blank">http://mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >
>=C2=A0 =C2=A0 =C2=A0Bug Reporting: support@webdna.us <mailto:supp=ort@webdna.us>
>
>
>
>
> --
>
> Olin Lagon
> olagon <http://twitter.com/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 <talk@webdna.us&g=t;.
To unsubscribe, E-mail to: <talk=-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
|
I never used [thisfile] before s=o I never noticed.=C2=A0 I was probably
using my [thisPage] solution before they ever introduced [thisfile]:
[listwords
delimiters=3D/&words=3D[thisurl]][text]thisPage=3D[word][/text][/<=wbr>listwords]
I suppose you could create a function called [thisfile] that uses
my code.=C2=A0 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?=C2=A0 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
> <ken@webdnasolutions.com <mailto:ken@webdnasolutions.com >> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Use the Apache DocumentRoot directive:
>
>=C2=A0 =C2=A0 =C2=A0http://www.serverschool.com/dedicated-servers/apaches- documentro=ot-directive/
>=C2=A0 =C2=A0 =C2=A0<http://www.serverschool.com/dedicated-servers/apaches- >docume=ntroot-directive/
>
>=C2=A0 =C2=A0 =C2=A0Regards,
>=C2=A0 =C2=A0 =C2=A0Kenneth Grome
>=C2=A0 =C2=A0 =C2=A0WebDNA Solutions
>=C2=A0 =C2=A0 =C2=A0http://www.webdnasolutions.com
>=C2=A0 =C2=A0 =C2=A0Web Database Systems and Linux Server Administratio=n
>
>
>
>=C2=A0 =C2=A0 =C2=A0On 01/12/2017 09:35 PM, Olin Lagon wrote:
>=C2=A0 =C2=A0 =C2=A0> Thanks. Was hoping to avoid that. I dev on thi=s laptop but then
>=C2=A0 =C2=A0 =C2=A0> host on another Ubuntu box that is running the= server version.
>=C2=A0 =C2=A0 =C2=A0> Must be something in Apache I can use. When I =find it, I'll
>=C2=A0 =C2=A0 =C2=A0> respond here.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> On Thu, Jan 12, 2017 at 4:31 PM, Stuart Tremai=n
>=C2=A0 =C2=A0 =C2=A0> <webd=na@idfk.com.au <mailto:webdna@=idfk.com.au>
>=C2=A0 =C2=A0 =C2=A0<mailto:webdna@idfk.com.au <mailto:webdna@idfk.com.au>>> wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Sounds like a global search= & replace job.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Kind regards
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Stuart Tremain
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Pharoah Lane Software
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0AUSTRALIA
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0webdna@idfk.com.au <mailto:webdna@idfk.com.au>
>=C2=A0 =C2=A0 =C2=A0<mailto:webdna@idfk.com.au <mailto:webdna@idfk.com.au>>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0On 13 Jan 2017, at 12:5=7, Olin Lagon <olin.lagon@gmail.=com <mailto:olin.lagon@gmail=..com>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2==A0<mailto:olin.lagon@gmail.com<=/a> <mailto:olin.lagon@gmail.com=>>> wrote: >=C2=A0 =C2=A0 =C2=A0<mailto:support@webdna.us <mailto:s=upport@webdna.us>>___
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0One problem moving to U=buntu. My old site when I used
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0[include file=3D/xyz] x=yz started at my web root. Now xyz
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0starts at /var/www/ whi=ch means all of the includes are now
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0broken. Anyway to map t=he start of my "root" to the
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0directory of my choice?=
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0Thanks
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0Olin Lagon
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0olagon <http://twitt=er.com/olagon>
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0-----------------------=----------------------------------
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0This message is sent to= you because you are subscribed to
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0the mailing list __. To= unsubscribe, E-mail to: __
>=C2=A0 =C2=A0 =C2=A0archives:
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0http://=mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0<htt=p://mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0>>=C2=A0 =C2=A0 =C2=A0support@webdna.us <mailto:support@webdna.us>_
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0---------------------------=------------------------------ This >=C2=A0 =C2=A0 =C2=A0<mailto:support@webdna.us <mailto:s=upport@webdna.us>>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0message is sent to you beca=use you are subscribed to the
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0mailing list __. To unsubsc=ribe, E-mail to: __ archives:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0http://mail=..webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0<http://=mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0support@webdna.us <mailto:support@webdna.us>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> --
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Olin Lagon
>=C2=A0 =C2=A0 =C2=A0> olagon <http://twitter.com/olagon>>=C2=A0 =C2=A0 =C2=A0> -----------------------------------------=---------------- This >=C2=A0 =C2=A0 =C2=A0<http://=mail.webdna.us/list/
>=C2=A0 =C2=A0 =C2=A0> message is sent to you because you are subscri=bed to the mailing
>=C2=A0 =C2=A0 =C2=A0> list . To unsubscribe, E-mail to: archives:
>=C2=A0 =C2=A0 =C2=A0> http://mail.webdna.us/list/talk@webdna.us talk@webdna.us > Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0> support@w=ebdna.us <mailto:support@webdna=..us>
>=C2=A0 =C2=A0 =C2=A0---------------------------=------------------------------ >=C2=A0 =C2=A0 =C2=A0the mailing list <talk@webdna.us <mailto:=talk@webdna.us>>.
>=C2=A0 =C2=A0 =C2=A0This message is sent to you because you are subscri=bed to
>=C2=A0 =C2=A0 =C2=A0To unsubscribe, E-mail to: <talk-leave@webdna.us
>=C2=A0 =C2=A0 =C2=A0<mailto:talk-leave@webdna.us>>>=C2=A0 =C2=A0 =C2=A0archives: <=a href=3D"http://mail.webdna.us/list/talk@webdna.us" rel=3D"noreferrer" tar=get=3D"_blank">http://mail.webdna.us/list/talk@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us >
>=C2=A0 =C2=A0 =C2=A0Bug Reporting: support@webdna.us <mailto:supp=ort@webdna.us>
>
>
>
>
> --
>
> Olin Lagon
> olagon <http://twitter.com/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 <talk@webdna.us&g=t;.
To unsubscribe, E-mail to: <talk=-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...