Hi all
I am getting double hits in my Apache access.log on a server. This may be a real problem for me as there is a Perl/MySQL application that may get multiple updates.
192.168.1.2 - mike [18/Sep/2004:16:41:34 +1000] "POST /kid/users/search/simple HTTP/1.1" 200 7097 "http://tazieff/kid/users/search/simple" "Mozilla/5.0 (X11; U; Linux alpha; en-US; rv:1.0.0) Gecko/20020622 Debian/1.0.0-0.woody.1"
192.168.1.2 - mike [18/Sep/2004:16:41:35 +1000] "GET /kid/users/search/simple HTTP/1.1" 200 5083 "http://tazieff/kid/users/search/simple" "Mozilla/5.0 (X11; U; Linux alpha; en-US; rv:1.0.0) Gecko/20020622 Debian/1.0.0-0.woody.1"
MORE INFORMATION
- The two hits are usually about a second apart and the first is a POST followed by a GET.
- The problem does not occur for static pages - only for dynamically pages.
- Im using apache with mod_perl via the apache-perl & libapache-mod-perl packages.
- The application is a Perl script that uses POST as the default method not GET.
- I have this problem on three machines:
A. the server running Debian stable and accessable via the web
B. my PPC laptop running Debian testing
C. an Athlon running Debian testing.
- Im not using virtual hosts in my http.conf file.
SEARCHES MADE
I have searched the Debian bugs database http://www.debian.org/Bugs/ for bugs for the apache-perl & libapache-mod-perl and there are none that are relevant.
I have searched the Apache bugs database http://nagoya.apache.org/bugzilla/ and not found any relevant bugs either.
Googling uisng combinations of "multiple hits" "double hits" "apache log" etc finds some hits like this one: http://archive.apache.org/gnats/627
A post in that suggested it was the user agent but in my case I have tailed the access log and it occurs for Mozilla and IE. Also mod_log_config was mentioned in that and Im using that but there are no bugs like double hits reported for that module.
SUMMARY
What can I look at that might help me to solve this? Anyone had similar probs? I can send bits of the httpd.conf or provide futher info.
Mike
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
