---
Late response here, but hopefully this might help.
The following is from "go/index.cfm", a file which is a custom 404
handler, allowing us to provide "/go/xyz" style URLs. Apache and IIS are
different, hence the switch case. Like you, cfdumping the cgi scope when
running on Apache didn't show which CGI variable made available the
actual file the user had requested -- but an Apache mailing list came to
the rescue :-)
// Determine which cgi variable to evaluate, based on the web server (as
they differ).
switch (listFirst(cgi.server_software, "/")) {
case "Apache": urlRequested = listLast(cgi.request_uri,
"/"); break;
case "Microsoft-IIS": urlRequested = listLast(cgi.query_string,
"/"); break;
default: urlRequested = listLast(cgi.query_string,
"/"); break;
}
--
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

