Re: [users@httpd] Apache is too slow with SSL

2011-03-31 Thread Ishita Kapadiya
Thanks Mark. It really helps. Once I have used keep alive in benchmark response time reduced from 1900ms to 5 ms! It should have come to my mind before. But thanks for your valuable hints.. I can now breath :) Next thing I am targetting is to use this server for stress test and will let you know i

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Tony Anecito
Hi All, I am confused by these messages because earlier %D was defined to include the time for the processing all lines after the first one of the packets containing the request and the time to process the request itself. If true then the following emails about checking the network and ipB itse

Re: [users@httpd] apache auth AD with ssl

2011-03-31 Thread Mark Montague
On March 31, 2011 9:57 , Diego Gomes - TI Cecred wrote: AuthBasicProvider ldap AuthType Basic AuthzLDAPAuthoritative off AuthName "*** Be Careful ***" AuthLDAPURL "ldap://serverdc.domain:389/dc=serverdc,dc=domain?sAMAccountName?s

[users@httpd] apache auth AD with ssl

2011-03-31 Thread Diego Gomes - TI Cecred
Hello All.. At moment, I have this config inside my apache virtual host: AuthBasicProvider ldap AuthType Basic AuthzLDAPAuthoritative off AuthName "*** Be Careful ***" AuthLDAPURL "ldap://serverdc.domain:389/dc=serverdc,dc=domain?sAMAcc

Re: [users@httpd] The .htaccess ANSI (ASCII) Format and linked problems

2011-03-31 Thread Postmaster trebly.net
Hi, Here are my answers and explanations about the particular situation and difficulties. Le 31/03/2011 03:40, Nick Kew a écrit : > On 30 Mar 2011, at 18:21, Bernard TREMBLAY wrote: > >> Hi, >> >> As we can pay attention .htaccess must be only redacted in ANSI. > ANSI isn't an encoding. Unless p

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Mark Montague
On March 31, 2011 9:36 , Janne H wrote: What does 'much "closer"' mean? The server is in Amazon EC2 cloud, and ipA is another EC2 instance. ipB is from the office, and ab reports a noticeble difference in latency, about 43 ms when accessing from ipB. Does "ping" report the same round-trip

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
Thanks for your reply. I'll do my best to answer your questions below. > > ipA [31/Mar/2011] "GET /file.jpg HTTP/1.0" 200 42981 > "-" "ApacheBench/2.3" 3560 > > ipB [31/Mar/2011] "GET /file.jpg HTTP/1.0" 200 42981 > "-" "ApacheBench/2.3" 93574 > > > > (the ipA is much "closer" to the server than

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Mark Montague
On March 31, 2011 8:37 , Janne H wrote: Well, I'm still a little confused. I'm trying to find out why the accesslog shows the line ipA [31/Mar/2011] "GET /file.jpg HTTP/1.0" 200 42981 "-" "ApacheBench/2.3" 3560 ipB [31/Mar/2011] "GET /file.jpg HTTP/1.0" 200 42981 "-" "ApacheBench/2.3" 93574

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Eric Covener
On Thu, Mar 31, 2011 at 8:37 AM, Janne H wrote: > --- On Thu, 3/31/11, Mark Montague wrote: > >> > In the access log, what is acctually meassured with >> the %D option? >> > >> > %D The time taken to serve the request, in >> microseconds. >> > >> > but what is included in this time? Is the stopwa

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
--- On Thu, 3/31/11, Mark Montague wrote: > > In the access log, what is acctually meassured with > the %D option? > > > > %D The time taken to serve the request, in > microseconds. > > > > but what is included in this time? Is the stopwatch > started when the last byte of the request is receiv

Re: [users@httpd] Apache is too slow with SSL

2011-03-31 Thread Mark Montague
On March 30, 2011 19:44 , Ishita Kapadiya wrote: Hi Mark, Thanks for your suggestion. I tried below settings in httpd.conf - #SSLRandomSeed startup builtin #SSLRandomSeed connect builtin SSLRandomSeed startup file:/dev/urandom 1024 SSLRandomSeed connect file:/dev/urandom 1024 the commente

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
> From the source code for httpd-2.2.17, > modules/loggers/mod_log_config.c, line 650, %D is: > > apr_time_now() - r->request_time) > > "now" in this context means "the time at which the log line > is being written".  This is after all data has been > sent to the client (logging the amount of dat

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Mark Montague
On March 31, 2011 4:28 , Janne H wrote: In the access log, what is acctually meassured with the %D option? The docs say: %D The time taken to serve the request, in microseconds. but what is included in this time? Is the stopwatch started when the last byte of the request is received and st

[users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
Hello. In the access log, what is acctually meassured with the %D option? The docs say: %D The time taken to serve the request, in microseconds. but what is included in this time? Is the stopwatch started when the last byte of the request is received and stoped when the first byte of the resp

[users@httpd] setenv variables in redirect-URLs?

2011-03-31 Thread Arndt Roth
Hi, we have hundreds of 301 redirects in our httpd configuration. To keep the manual configuration between stages as low as possible I tried to work with variables. Example: Redirect 301 /something http://dev-stage1.domain.com/new/something I want to replace "dev-stage1.domain.com" by a vari