Apache Does Note Populate CGI.PATH_INFO with ColdFusion
Apps that use CGI.PATH_INFO should be changed to use CGI.SCRIPT_NAME, because Apache does not support CGI.PATH_INFO.
It is also recommended to use CGI.HTTP_HOST rather than CGI.SERVER_NAME, because server_name can be incorrect on multi-homed servers.

![Validate my RSS feed [Valid RSS]](/images/valid-rss.png)

If it doesn't work like this in other Apache environments, I'd sure be interested in knowing.
CGI.Path_Info is also used in 5 different templates in Ray Camden's popular BlogCFC.
Does it not work under other versions of Apache, or other OS's?
It's a mystery to me why it works for you, but not for me and others. But the alternatives I blogged do work.
cgi.path_info is empty for me too unless there is something after the .cfm template name. If you browse to 'yoursite.com/whatever.cfm/hello/world,' cgi.path_info for me is '/hello/world'. This is extremely helpful when using mod_rewrite, because you can hide the 'whatever.cfm'(usually index.cfm), and program your own ses url routing.
If I browse to 'mysite.com/whatever.cfm,' the cgi.path_info is empty.
Which url pattern are you using, 'yoursite.com/whatever.cfm,' or 'yoursite.com/whatever.cfm/hello' ?
Thanks for your patience. I'm really wondering what's going on here.
I am using .cfm in my paths throughout my sites, so what you have discovered is that cgi.path_info is empty with Apache when using .cfm in the path, but if using .cfm/hello type paths, it works.
That's good to know. So we're changing cgi.path_info on our sites to cgi.script_name, because we're doing local development with Apache.
Thanks.
Jason