[WebDNA] Finding variable that holds "DocumentRoot" directory

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105547
interpreted = N
texte = I'm running a test server on my Macbook Pro OS X Snow Leopard. In my httpd-vhosts.conf file, I have: AllowOverride All DocumentRoot /Users/williamdevaul/Sites/redesign_webdna/example.com ServerName example.com When I include a file or refer to a db, WebDNA uses the DocumentRoot directory. E.g.: [search db=/users.db... will search /Users/williamdevaul/Sites/redesign_webdna/example.com/users.db. Including files operates similarly. Is there a system variable that holds "/Users/williamdevaul/Sites/redesign_webdna/example.com" and is it modifiable? Thanks, Bill Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Finding variable that holds "DocumentRoot" directory (sal danna 2010)
  2. Re: [WebDNA] Finding variable that holds "DocumentRoot" directory (Kenneth Grome 2010)
  3. [WebDNA] Finding variable that holds "DocumentRoot" directory (William DeVaul 2010)
I'm running a test server on my Macbook Pro OS X Snow Leopard. In my httpd-vhosts.conf file, I have: AllowOverride All DocumentRoot /Users/williamdevaul/Sites/redesign_webdna/example.com ServerName example.com When I include a file or refer to a db, WebDNA uses the DocumentRoot directory. E.g.: [search db=/users.db... will search /Users/williamdevaul/Sites/redesign_webdna/example.com/users.db. Including files operates similarly. Is there a system variable that holds "/Users/williamdevaul/Sites/redesign_webdna/example.com" and is it modifiable? Thanks, Bill William DeVaul

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:

WebCat2 - Getting to the browser's username/password data (1997) Great product and great job ! (1997) Mozilla/4. and Browser Info.txt (1997) Music in background (2000) PLEASE REMOVE MY EMAIL ADDRESS (1997) RE: Web*SSL and WebCatalog (1997) http upload (2001) pc (1997) WebCat editing, SiteGuard & SiteEdit (1997) WCS Newbie question (1997) Almost a there but..bye bye NetCloak (1997) Re:Emailer and encryption (1997) SMSI: Forged email addresses on the talk list ... (2002) ErrorMessages.db (1998) I need a Smart-quote workaround (1999) Including encrypted templates ... ? (2003) [OT] I am old. (2003) More Applescript (1997) Error 11 (1996) Selective Searching (2000)