RFE: Accessing Server Environment Variables
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49100
interpreted = N
texte = The more recent versions of WebSite support custom error handling, with a single file being able to handle multiple error states. In order to create a custom 404 message in WebDNA, I need to be able to access the server environment variables, in order to see the original path that was requested.For example, in Perl I would call $original_path = $ENV{'4XX_PATH'};but WebDNA does not support this.I'd like new contexts that would work much like the [ListMIMEHeaders] and [GetMIMEHeader] tags; I propose [ListENVVariables] and [GetENVVariable]. These contexts would return the server environment variables for later processing. This feature is available in both for Windows and *nix web servers (I cannot speak to classic Mac, but that is being discontinued).ThanksJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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:
|
- RFE: Accessing Server Environment Variables (John Peacock 2003)
|
The more recent versions of WebSite support custom error handling, with a single file being able to handle multiple error states. In order to create a custom 404 message in WebDNA, I need to be able to access the server environment variables, in order to see the original path that was requested.For example, in Perl I would call $original_path = $ENV{'4XX_PATH'};but WebDNA does not support this.I'd like new contexts that would work much like the [listmimeheaders] and [getmimeheader] tags; I propose [ListENVVariables] and [GetENVVariable]. These contexts would return the server environment variables for later processing. This feature is available in both for Windows and *nix web servers (I cannot speak to classic Mac, but that is being discontinued).ThanksJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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/
John Peacock
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:
Lost Password? (2002)
[WebDNA] Is there a good file upload script available these days? (2009)
Summing fields (1997)
WebCat & WebTen (1997)
Playin Tricks (2006)
WC Database Format (1997)
RSS Feeds; basic info (2005)
Sendmail truncation in Eudora Clients (1998)
Web Catalog 2 demo (1997)
Problems adding stuff to the shopping cart. (1997)
filemaker - orderfile (1997)
ANN: Strategic Partnership with BuyStream Announced. (2000)
WebMerchant (2003)
Applescript error (1998)
Too Much Rootbeer Free Offer (1997)
WebDNA to PHP (2008)
Protect (1997)
[defined]ish (1997)
Exclude by date - multiple (1997)
Sample Tearoom Search Error (1997)