Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why is script being called twice?

Status
Not open for further replies.

JGH

Programmer
Feb 1, 2001
21
US
I'm not sure this is an Apache issue, but I have a Perl script in a password-protected directory that I run from a web page, and I find it is sometimes executed twice. Checking the logs, I found that it is run once as the authenticated user and once as not:

domain1.com - - [05/Mar/2003:14:35:25 -0500] "GET /cgi-bin/script.pl?var1=foo&submit=submit HTTP/1.0" 200 397 " "Mozilla/4.72 [en] (Windows NT 5.0; I)"

domain1.com - user [05/Mar/2003:14:35:27 -0500] "GET /cgi-bin/script.pl?var1=foo&submit=submit HTTP/1.0" 200 95467 " "Mozilla/4.72 [en] (Windows NT 5.0; I)"

Any ideas?

Thanks - Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top