Re: Question about dir_cgi.c and PATH_INFO

Michiel Boland <[email protected]> Thu, 20 Jan 2005 08:58:37 +0100 (MET)
Newsgroups gmane.network.mathopd
Message-ID <Pine.GSO.4.61.0501200855300.26862@brakkenstein.nijmegen.internl.net>
On Tue, 18 Jan 2005, David J. Weller-Fahy wrote:

> I'm using the dir_cgi.c file to generate a directory listing for various
> areas of my website.  However, where it should list the path information
> (from the environment variable PATH_INFO), I'm getting nothing.

Eek. The dir_cgi.c on the mathopd site is rather old. It should use 
SCRIPT_NAME, rather than PATH_INFO. I have replaced it. The new version 
should work ok.

Cheers
Michiel