in reply to CGI.pm bug? Or Apache issue?

That is interesting that it runs on the first URI. If a browser sends that your server probably sends a redirect message with the second URI. If you asked which would actually run the script I would have said 2 and 3 but not 1 so that in itself is interesting.

I wonder if your client program is taking the redirect and reposting without the relevant form input data?

Update: Look in your logs and see if there is a 304 near your other requests (The redirect) This would tell you the URL was hit twice but the script ran once once the redirect was followed.

Update2: Oops as pointed out 304 is not right, It's 302 or 301 depending.

Replies are listed 'Best First'.
Re: Re: CGI.pm bug? Or Apache issue?
by echo (Pilgrim) on Aug 30, 2001 at 00:36 UTC
    If /foo is a directory, and DirectoryIndex is set to index.cgi, then a request for /foo yields an external redirect to /foo/, and a request to /foo/ yields an internal redirect to /foo/index.cgi.

    BTW 304 is "not modified", a response to an If-Modified-Since or similar conditional request. Redirects are 301 and 302.