Re: Absolute path

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51185
interpreted = N
texte = Almost anything to do with directories will depend on the OS of your server.Though standard HTML works like so:/siteroot /siteroot/folder1 /siteroot/folder2so if you wanted an image from FOLDER2 to so in an HTML doc in that is in FOLDER1 you could do: or note: ./ same directory ../ up one directory ../../ up two and so on.Now lets say you want an image from another site that is on the same server./websites/site1/images/ /websites/site2/images/the problem comes in that site1 should not see site2. Meaning that if you went / you would only get to site1 folder or site2 not the /websites.On both Win2k and Linux we simply established a link to the images directory.This would basically put a short cut from one site to the other only on the directory in which you made the link. Allowing you to drop images into the site1 image directory and them be available to site2.Hope this helped. I am not sure what you wanted. If I way off sorry for the intrusion.Ron----- Original Message ----- From: Marc Kaiwi To: WebDNA Talk Sent: Thursday, June 19, 2003 1:10 PM Subject: Re: Absolute path > Not exactly ... what I need is is an an absolute path for an image > which is being [included] from two different directories. > > for eaxample: http://www.host.com/theimage.jpg would work but isn't > there a little wc trick for backing up to the server's root directory? > > Thanks, > > MK > > On Thursday, June 19, 2003, at 01:07 PM, Dan Strong wrote: > > > A little too quick on the send, sorry... > > ------------ > > Folder 1 > > Folder 2 > > Folder 3 > > you_are_here.html > > ------------ > > > > a link within you_are_here.html like this ../Folder 2/whatever.html > > > > Will bring you up and out of Folder 3 and into Folder 2 > > > > Is that what you mean? > > > > -Dan > > ------------------------------------------------------------ > > http://www.StrongGraphicDesign.com > > (208) 319-0137 | Toll-free p/f 877-561-1656 > > ------------------------------------------------------------ > > > > > > On Thu, 2003/06/19 13:04:33 -0700 > > Dan Strong wrote: > >> Folder 1 > >> Folder 2 > >> Folder 3 > >> > >> > >> On Thu, 2003/06/19 12:57:22 -0700 > >> marc@kaiwi.com (Marc Kaiwi) wrote: > >>> Quick question. > >>> What's that little trick for getting an absolute path? Is it > >>> something like ^/this/that ... where does that put me? > >>> > >>> Thanks > >>> > >>> > >>> ------------------------------------------------------------- > >>> This message is sent to you because you are subscribed to > >>> the mailing list . > >>> To unsubscribe, E-mail to: > >>> To switch to the DIGEST mode, E-mail to > >>> > >>> Web Archive of this list is at: http://webdna.smithmicro.com/ > >> > >> ------------------------------------------------------------ > >> http://www.StrongGraphicDesign.com > >> (208) 319-0137 | Toll-free p/f 877-561-1656 > >> ------------------------------------------------------------ > >> > >> ------------------------------------------------------------- > >> This message is sent to you because you are subscribed to > >> the mailing list . > >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to > >> > >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > > Signed: Marc Kaiwi > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: absolute path (*) - how does it work? ( Frank Nordberg 2007)
  2. absolute path (*) - how does it work? ( "Olin Lagon" 2007)
  3. Re: Absolute path (Brian Fries 2003)
  4. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Absolute path (Brian Fries 2003)
  6. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  7. Re: Absolute path (WebCat @ Inkblot Media 2003)
  8. Re: Absolute path (Dan Strong 2003)
  9. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  10. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  11. Re: Absolute path (Dan Strong 2003)
  12. Re: Absolute path (Dan Strong 2003)
  13. Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  14. Re: Copyfile to length limit for absolute paths (Brian Fries 2003)
  15. Re: Copyfile to length limit for absolute paths (Scott Anderson 2003)
  16. Re: Copyfile to length limit for absolute paths (Brian Fries 2003)
  17. Copyfile to length limit for absolute paths (Brian Fries 2003)
  18. Re: absolute paths for databases? (Olin 1997)
  19. Re: absolute paths for databases? (Grant Hulbert 1997)
  20. Re: absolute paths for databases? (Grant Hulbert 1997)
  21. Re: absolute paths for databases? (Paul Uttermohlen 1997)
Almost anything to do with directories will depend on the OS of your server.Though standard HTML works like so:/siteroot /siteroot/folder1 /siteroot/folder2so if you wanted an image from FOLDER2 to so in an HTML doc in that is in FOLDER1 you could do: or note: ./ same directory ../ up one directory ../../ up two and so on.Now lets say you want an image from another site that is on the same server./websites/site1/images/ /websites/site2/images/the problem comes in that site1 should not see site2. Meaning that if you went / you would only get to site1 folder or site2 not the /websites.On both Win2k and Linux we simply established a link to the images directory.This would basically put a short cut from one site to the other only on the directory in which you made the link. Allowing you to drop images into the site1 image directory and them be available to site2.Hope this helped. I am not sure what you wanted. If I way off sorry for the intrusion.Ron----- Original Message ----- From: Marc Kaiwi To: WebDNA Talk Sent: Thursday, June 19, 2003 1:10 PM Subject: Re: Absolute path > Not exactly ... what I need is is an an absolute path for an image > which is being [included] from two different directories. > > for eaxample: http://www.host.com/theimage.jpg would work but isn't > there a little wc trick for backing up to the server's root directory? > > Thanks, > > MK > > On Thursday, June 19, 2003, at 01:07 PM, Dan Strong wrote: > > > A little too quick on the send, sorry... > > ------------ > > Folder 1 > > Folder 2 > > Folder 3 > > you_are_here.html > > ------------ > > > > a link within you_are_here.html like this ../Folder 2/whatever.html > > > > Will bring you up and out of Folder 3 and into Folder 2 > > > > Is that what you mean? > > > > -Dan > > ------------------------------------------------------------ > > http://www.StrongGraphicDesign.com > > (208) 319-0137 | Toll-free p/f 877-561-1656 > > ------------------------------------------------------------ > > > > > > On Thu, 2003/06/19 13:04:33 -0700 > > Dan Strong wrote: > >> Folder 1 > >> Folder 2 > >> Folder 3 > >> > >> > >> On Thu, 2003/06/19 12:57:22 -0700 > >> marc@kaiwi.com (Marc Kaiwi) wrote: > >>> Quick question. > >>> What's that little trick for getting an absolute path? Is it > >>> something like ^/this/that ... where does that put me? > >>> > >>> Thanks > >>> > >>> > >>> ------------------------------------------------------------- > >>> This message is sent to you because you are subscribed to > >>> the mailing list . > >>> To unsubscribe, E-mail to: > >>> To switch to the DIGEST mode, E-mail to > >>> > >>> Web Archive of this list is at: http://webdna.smithmicro.com/ > >> > >> ------------------------------------------------------------ > >> http://www.StrongGraphicDesign.com > >> (208) 319-0137 | Toll-free p/f 877-561-1656 > >> ------------------------------------------------------------ > >> > >> ------------------------------------------------------------- > >> This message is sent to you because you are subscribed to > >> the mailing list . > >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to > >> > >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > > Signed: Marc Kaiwi > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ WebCat @ Inkblot Media

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:

Extracting URL (2007) PSC recommends what date format yr 2000??? (1997) Newbie problem blah blah blah (1997) Why does WebCat do this? (2001) Database wiped clean (2005) Header Problems (1998) Database and Log file merged..... (2000) WebCat for Unix?? (1997) using showpage and showcart commands (1996) shell problems again... (2003) Re:Emailer and encryption (1997) Calculating Shipping (1997) Form Validation (2000) Random again (2003) Another bug to squash (WebCat2b13 Mac .acgi) (1997) RE: [WebDNA] Ubuntu and WebDNA (2019) TaxRate and ShipCost Problem (1998) Line items in table cells (1997) [CONVERTCHARS] suggestion (2000) $Quit, $CloseDatabase corrections (1997)