We recently migrated an old app from an IIS web server to an Apache web server. During this migration we found out the the code had referenced CGI.path_name which did not work in Apache. The CGI variable was blank. We changed the CGI varible to be script_name and all worked fine. I also found a couple of good blog posts about CGI variables and some gotcha's:
CGI.hot_n_sexy Does Not Throw A ColdFusion Error
Apache 404 / CGI Weirdness....
Friday, March 6, 2009
Subscribe to:
Posts (Atom)