the URL that the user entered. The first part works - I just put the
following in httpd.conf:
ErrorDocument 404 /test/router.cfm
The ColdFusion template "router.cfm" is executed, but I can't get a handle
on the URL that the user entered.
Following are some cgi variables from cf debug that I thought might provide
a clue, but they don't. They tell me I'm in router.cfm, but I already know
that.
CGI Variables:
CF_TEMPLATE_PATH=C:\test\router.cfm
GATEWAY_INTERFACE=CGI/1.1
HTTP_REFERER=
PATH_INFO=
PATH_TRANSLATED=C:\test\router.cfm
REMOTE_ADDR=127.0.0.1
REMOTE_HOST=127.0.0.1
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/test/router.cfm
SERVER_NAME=127.0.0.1
If it's routed through ColdFusion with a .cfm extension, I can get a handle
on the URL. (the user entered, let's say, http://mysite.com/whatever.cfm)
But if it's not, that is, the user did not enter an URL with a ColdFusion
extension, I can't. (the user entered, let's say,
http://mysite.com/whatever.html)
Is there any way to get a handle on the URL the user entered, maybe a java
object or other means? I'm on CFMX 6.1.
Thanks, Greg
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

