When I try to bring up http://[myhost]/cgi-bin/printenv/foo/bar/baz I get a 403 Forbidden error. The Apache error log shows
(21)Is a directory: access to /cgi-bin/printenv/foo/bar/baz failed
Basically, instead of invoking printenv with a PATH_INFO of /foo/bar/baz, Apache is trying to interpret the path as a directory and of course finds nothing there.
But if I bring up /cgi-bin/printenv, something "wakes up" and remembers that printenv is a CGI. After that, invoking it with a path works -- for a while. Then it forgets, and I have to repeat the "wake up" procedure.
Of course I'm not interested in printenv. The problem is that I have a bunch of CGIs which depend on getting PATH_INFO. Help!
(21)Is a directory: access to /cgi-bin/printenv/foo/bar/baz failed
Basically, instead of invoking printenv with a PATH_INFO of /foo/bar/baz, Apache is trying to interpret the path as a directory and of course finds nothing there.
But if I bring up /cgi-bin/printenv, something "wakes up" and remembers that printenv is a CGI. After that, invoking it with a path works -- for a while. Then it forgets, and I have to repeat the "wake up" procedure.
Of course I'm not interested in printenv. The problem is that I have a bunch of CGIs which depend on getting PATH_INFO. Help!