Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache & REDIRECT_URL & ColdFusion

Status
Not open for further replies.

Tavis

Programmer
May 10, 2001
4
US
Using the Apache directive in "httpd.conf"
ErrorDocument 404 /cgi-bin/missing_file.cgi
runs the missing file script whenever a document cannot be found on the server. Apache sets an environment variable called REDIRECT_URL indicating the originally requested document path.

What i want to do is run a ColdFusion script, ie.
ErrorDocument 404 /cgi-bin/missing_file.cfm
BUT, when i do this, Apache does not set the REDIRECT_URL variable. Is there a way to force Apache to set that variable regardless of the script?

(running)
Windows NT 4.0
Apache 1.3.14 (win32)
ColdFusion 4.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top