httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Carlos Martinho Alexandre (DSI)" <joel.martinho.alexan...@caixaseguros.pt>
Subject RE: [users@httpd] Help with AB and authentication
Date Wed, 12 Dec 2007 14:21:50 GMT
I already tried that. 

Didn't work.

Maybe it's another thing.

With wget, i does 3 request just to get one page. The first two return
401 and only the third is giving a 200. Maybe ab, for some reason, isn't
trying enough times to authenticate.

In AB with verbose active, I can see it only tries one time.


 
Regards,
Joel

-----Original Message-----
From: Graeme Fowler [mailto:graeme@graemef.net] 
Sent: quarta-feira, 12 de Dezembro de 2007 13:51
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help with AB and authentication

On Wed, 2007-12-12 at 11:30 +0000, Joel Carlos Martinho Alexandre (DSI)
wrote:
> I'm trying to use AB to benchmark a site within a IIS, but I'm having
> problems with authentication.
> 
> I'm currently using 
> 
> ab2 -A domain\user:password url 

Try

ab2 -A domain\\user:password url

The command line thinks you're escaping the first character of the
username since backslashed are used as escape markers. Pass a pair, and
the first backslash escapes the second one, thus passing it to the
application.

Alternatively, put the whole thing in single quotes:

'domain\user:password' and see if ab takes that.

Graeme


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message