DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31268>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31268

ab: add an option to override the target host

           Summary: ab: add an option to override the target host
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: support
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When testing a server, the "Host:" header can matter. I needed a way to
disconnect the target host as derived from the URL on the command line and the
"Host:" header that ab sends.

I wrote a patch against ab from 2.0.50 that adds a "-F hostname" option (which I
will attach once this ticket exists).

Say I have a new server and want to see how it compares with an existing one
with a vhost named www.example.com. Rather than play with hosts files or DNS,
this patch allows you to test "newbox" by running:

ab -F newbox http://www.example.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to