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

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113349
interpreted = N
texte = 942 --001a113ebdfa20860e0545fe8841 Content-Type: text/plain; charset=UTF-8 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 --001a113ebdfa20860e0545fe8841 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Ken. Am using that. Works for the virtual host to g= et to the right directory. But [thisfile] still has the full unix path. Wil= l look more today for a way to make this work.

On Fri, Jan 13, 2017 at 2:53 AM, Kenneth= Grome <ken@webdnasolutions.com> 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
> <webd= na@idfk.com.au <mailto:webdna@= idfk.com.au>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Sounds like a global search & replace job.
>
>
>=C2=A0 =C2=A0 =C2=A0Kind regards
>
>=C2=A0 =C2=A0 =C2=A0Stuart Tremain
>=C2=A0 =C2=A0 =C2=A0Pharoah Lane Software
>=C2=A0 =C2=A0 =C2=A0AUSTRALIA
>=C2=A0 =C2=A0 =C2=A0webdna= @idfk.com.au <mailto:webdna@id= fk.com.au>
>
>
>
>
>
>
>>=C2=A0 =C2=A0 =C2=A0On 13 Jan 2017, at 12:57, Olin Lagon <olin.lagon@gmail.com
>>=C2=A0 =C2=A0 =C2=A0<mailto:olin.lagon@gmail.com>> wrote:
>>
>>=C2=A0 =C2=A0 =C2=A0One problem moving to Ubuntu. My old site when = I used
>>=C2=A0 =C2=A0 =C2=A0[include file=3D/xyz] xyz started at my web roo= t. Now xyz
>>=C2=A0 =C2=A0 =C2=A0starts at /var/www/ which means all of the incl= udes are now
>>=C2=A0 =C2=A0 =C2=A0broken. Anyway to map the start of my "roo= t" to the
>>=C2=A0 =C2=A0 =C2=A0directory of my choice?
>>
>>=C2=A0 =C2=A0 =C2=A0Thanks
>>
>>=C2=A0 =C2=A0 =C2=A0--
>>
>>=C2=A0 =C2=A0 =C2=A0Olin Lagon
>>=C2=A0 =C2=A0 =C2=A0olagon <http://twitter.com/olagon= >
>>=C2=A0 =C2=A0 =C2=A0------------------------------= ---------------------------
>>=C2=A0 =C2=A0 =C2=A0This message is sent to you because you are sub= scribed to
>>=C2=A0 =C2=A0 =C2=A0the mailing list __. To unsubscribe, E-m= ail to: __ archives:
>>=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> Bug Reporting:
>>=C2=A0 =C2=A0 =C2=A0support@we= bdna.us <mailto:support@webdna.= us>____
>
>=C2=A0 =C2=A0 =C2=A0----------------------------------------------= ----------- This
>=C2=A0 =C2=A0 =C2=A0message is sent to you because you are subscribed t= o the
>=C2=A0 =C2=A0 =C2=A0mailing list __. To unsubscribe, E-mail to: = __ archives:
>=C2=A0 =C2=A0 =C2=A0http://mail.webdna.us/list/tal= k@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us> Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0support@webdna= ..us <mailto:support@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.u= s>.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>



--
=

Olin Lagon
--------------------------------------------------------- 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 --001a113ebdfa20860e0545fe8841-- . 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)
942 --001a113ebdfa20860e0545fe8841 Content-Type: text/plain; charset=UTF-8 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 --001a113ebdfa20860e0545fe8841 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Ken. Am using that. Works for the virtual host to g= et to the right directory. But [thisfile] still has the full unix path. Wil= l look more today for a way to make this work.

On Fri, Jan 13, 2017 at 2:53 AM, Kenneth= Grome <ken@webdnasolutions.com> 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
> <webd= na@idfk.com.au <mailto:webdna@= idfk.com.au>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Sounds like a global search & replace job.
>
>
>=C2=A0 =C2=A0 =C2=A0Kind regards
>
>=C2=A0 =C2=A0 =C2=A0Stuart Tremain
>=C2=A0 =C2=A0 =C2=A0Pharoah Lane Software
>=C2=A0 =C2=A0 =C2=A0AUSTRALIA
>=C2=A0 =C2=A0 =C2=A0webdna= @idfk.com.au <mailto:webdna@id= fk.com.au>
>
>
>
>
>
>
>>=C2=A0 =C2=A0 =C2=A0On 13 Jan 2017, at 12:57, Olin Lagon <olin.lagon@gmail.com
>>=C2=A0 =C2=A0 =C2=A0<mailto:olin.lagon@gmail.com>> wrote:
>>
>>=C2=A0 =C2=A0 =C2=A0One problem moving to Ubuntu. My old site when = I used
>>=C2=A0 =C2=A0 =C2=A0[include file=3D/xyz] xyz started at my web roo= t. Now xyz
>>=C2=A0 =C2=A0 =C2=A0starts at /var/www/ which means all of the incl= udes are now
>>=C2=A0 =C2=A0 =C2=A0broken. Anyway to map the start of my "roo= t" to the
>>=C2=A0 =C2=A0 =C2=A0directory of my choice?
>>
>>=C2=A0 =C2=A0 =C2=A0Thanks
>>
>>=C2=A0 =C2=A0 =C2=A0--
>>
>>=C2=A0 =C2=A0 =C2=A0Olin Lagon
>>=C2=A0 =C2=A0 =C2=A0olagon <http://twitter.com/olagon= >
>>=C2=A0 =C2=A0 =C2=A0------------------------------= ---------------------------
>>=C2=A0 =C2=A0 =C2=A0This message is sent to you because you are sub= scribed to
>>=C2=A0 =C2=A0 =C2=A0the mailing list __. To unsubscribe, E-m= ail to: __ archives:
>>=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> Bug Reporting:
>>=C2=A0 =C2=A0 =C2=A0support@we= bdna.us <mailto:support@webdna.= us>____
>
>=C2=A0 =C2=A0 =C2=A0----------------------------------------------= ----------- This
>=C2=A0 =C2=A0 =C2=A0message is sent to you because you are subscribed t= o the
>=C2=A0 =C2=A0 =C2=A0mailing list __. To unsubscribe, E-mail to: = __ archives:
>=C2=A0 =C2=A0 =C2=A0http://mail.webdna.us/list/tal= k@webdna.us
>=C2=A0 =C2=A0 =C2=A0<http://mail.webdna.us/list/talk@webdna.us> Bug Reporting:
>=C2=A0 =C2=A0 =C2=A0support@webdna= ..us <mailto:support@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.u= s>.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>



--
=

Olin Lagon
--------------------------------------------------------- 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 --001a113ebdfa20860e0545fe8841-- . Olin Lagon

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:

[input] [/input] (1997) Extended [ConvertChars] (1997) Programmer Needed (1998) converting characters in form (1997) HTML encoding in URLs (1997) Merging databases (1997) encrypt/decrypt - are docs correct?? (2002) Uploading a file (2000) Emailer port change (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) displaying New products (using [date]) (1997) Date sorting (1997) Web*SSL and WebCatalog (1997) [WebDNA] No more SQL in 7.1? (2012) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat2b13MacPlugIn - [include] (1997) Interfacing WC with mail server (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WebCat2: Items xx to xx shown, etc. (1997)