path_info works fine with Apache - this is a cf issue, if any. Did you try
scoping the variable just in case? CGI.PATH_INFO

To confirm your Apache's functionality, create a file in your cgi-bin with
the following contents: (adjust the path of the perl binary to suit your
system)

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print $ENV{PATH_INFO};


Make it executable and readable by the user that you run Apache as, then
access it via http like this:

http://yourdomain.com/cgi-bin/scriptname/foo/bar

You'll find it will print /foo/bar, demonstrating that path_info is working
fine in Apache.

FYI, note that it omits the script name itself - this is the correct
behaviour of path_info when accessed via the actual CGI, as opposed to
accesing it via an embedded, non-cgi scripting language such as cfml or php,
in which case the filename is typically included in path_info

jason


> There was a discussion about this on the Fusebox mailing list.  I think
> there was a setting in Apache that you can set to make this work.  I'll
> see if I can find that email.
>
> Steve



------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to