Another thing to look at is, of course, the difference in the network traffic between Opera and FireFox. Get a network sniffer to look at the traffic and look at what LWP get and/or wget output. I think that maybe FireFox helpfully hits a different webserver, like www.example.com after failing with example.com so you might be looking at the wrong server logs. The best way would be to confirm this with a network sniffer.

You should sprinkle the code in question with log messages to make sure it takes the path you think it does. Also, maybe reduce your httpd.conf and your Perl code to a minimal example. As you don't send any reply to the user hitting your rate limit, maybe the browser just makes something up, like Content-Type: text/plain. I would try to send a 302 redirect to Google or whatever instead of silently failing, at least for testing out the whole situation. I'm not sure how the Apache logging handles ModPerl::Util::exit calls.


In reply to Re: Apache2::Const::CONN_CLOSE & Apache 2.2 by Corion
in thread Apache2::Const::CONN_CLOSE & Apache 2.2 by TOD

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.