http://qs1969.pair.com?node_id=59719

DanchoMitev7 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on cgi mysteriously called twice (instead of just once)

Replies are listed 'Best First'.
Re: cgi mysteriously called twice (instead of just once)
by Yohimbe (Pilgrim) on Feb 20, 2001 at 22:33 UTC
    Hmm. sometimes you can effectively re-run index files with some of the more complicated bits of apache/webserver configuration. Also, there are some bizarre ways to cause FastCGI and similar tools to misbehave. Tell us more about your config.
    --
    Jay "Yohimbe" Thorne, alpha geek for UserFriendly
Re: cgi mysteriously called twice (instead of just once)
by dws (Chancellor) on Feb 21, 2001 at 00:21 UTC
    Try to reduce your CGI to the smallest possible script that will demonstrate the problem. This exercise will often point you to the problem. If not, you'll have a short script to post here.
Re: cgi mysteriously called twice (instead of just once)
by sierrathedog04 (Hermit) on Feb 21, 2001 at 00:16 UTC
    If it were me I would look at the server's log files just to be safe. Are there perhaps two http requests for the same script when there should only be one? Your problem could be something as simple as an unintended Server Side Include, or a hidden frame on a page.