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:
RE: Formulas.db + Users.db (1997)
SOP for WebDNA talk - MSNBot Crashing (2004)
RE: I have observed and I am gone. (1998)
Unexpected error (1997)
Stay on Products page (2003)
(1997)
php vs WebCatalog (2000)
WebCatalog f2 Installation (1997)
4.0 send email ticks. . (2000)
For those of you not on the WebCatalog Beta... (1997)
Too Much Rootbeer Free Offer (1997)
Nested search (1997)
webcat- multiple selection in input field (1997)
Download Question (1997)
WebCat2 beta 11 - new prefs ... (1997)
[GetMIMEHeader] does not work (under Linux?) (2000)
Dealer locator (1998)
Username for Admin Group (1997)
Update quantity (2000)
Error (1997)