in reply to CGI.pm bug? Or Apache issue?
Well, by requesting without the trailing "/" you're asking for a file named "script_dir", which apache is then doing an internal redirect to the directory "/script_dir/." Apache is then picking up your rule that sets the default to index.cgi after the internal redirect.
It isn't that suprising, at least to me, that you'd lose the environment variables, including the posted data because of the redirect.
When you request "script_dir/" with the trailing slash, you're avoiding the needed internal apache redirect, and keeping the environment variables.
That's a long way to say "always end requests for directories with a trailing slash for performance's sake, and CGI.pm is still the bomb."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI.pm bug? Or Apache issue?
by blakem (Monsignor) on Aug 30, 2001 at 00:28 UTC | |
by Teenage Mutant Ninja Camel (Initiate) on Aug 30, 2001 at 07:36 UTC |