I've written a C CGI executable, and that i would like it to have the ability to retrieve the road_INFO from Apache. For instance, basically possess the put together C file as /var/www/html/file, and that i request http://localhost/file/pathinfo, How do you obtain the pathinfo portion?

For those who have any idea, help. Thanks ahead of time!

All of the CGI variables are saved within the atmosphere. There you'll find a PATH_INFO variable.

This (and a lot of additional information) can be obtained as atmosphere variables. This spend script, run like a CGI script inside your atmosphere, will dump everything you will get at:

#! /bin/sh
printf "Content-Type: text/plain\n\n"

Out of your C program, access the variables using getenv() as always.