Bonjour,

J'ai un serveur apache 2.2 ou 2.0, sur lequels j'ai un petit souci.
En effet celui-ci ne délivre pas correctement toutes les requetes. Concretement, certaines fois, lorsque l'on clique sur un lien, la page reste blanche. Un coup de refresh et hop c'est bon.
Mais c'est tout de même génant, et je ne voit pas d'où cela provient.

En tout cas je peux déjà éliminer un probléme de slot. Le bug se produisant aussi lorsque le site n'est pas visité...

Au niveau des logs d'erreur je n'ai rien concernant ce problème.

Voici ma conf :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
ServerRoot "/usr/local/apache"
 
 
<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
 
</IfModule>
</IfModule>
 
 
 
<IfModule !mpm_netware.c>
<IfModule !perchild.c>
</IfModule>
</IfModule>
 
 
 
<IfModule !mpm_netware.c>
PidFile logs/httpd.pid
</IfModule>
 
 
 
Timeout 20
 
 
KeepAlive On
 
 
MaxKeepAliveRequests 100
 
 
KeepAliveTimeout 5
 
 
<IfModule prefork.c>
StartServers        20
MinSpareServers     10
MaxSpareServers     20
MaxClients         	250
MaxRequestsPerChild  100
</IfModule>
 
 
<IfModule worker.c>
StartServers         	2
MaxClients         		150
MinSpareThreads     		25
MaxSpareThreads     		75 
ThreadsPerChild     		25
MaxRequestsPerChild  	1500
</IfModule>
 
 
 
<IfModule perchild.c>
NumServers           10
StartThreads         10
MinSpareThreads      10
MaxSpareThreads     20
MaxThreadsPerChild  40
MaxRequestsPerChild  0
</IfModule>
 
 
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild  0
</IfModule>
 
 
<IfModule beos.c>
StartThreads               10
MaxClients                 50
MaxRequestsPerThread       10000
</IfModule>    
 
 
<IfModule mpm_netware.c>
ThreadStackSize      65536
StartThreads           250
MinSpareThreads         25
MaxSpareThreads        250
MaxThreads            1000
MaxRequestsPerChild      0
MaxMemFree             100
</IfModule>
 
 
<IfModule mpmt_os2.c>
StartServers           5
MinSpareThreads       10
MaxSpareThreads       50
MaxRequestsPerChild   1000
</IfModule>
 
 
Listen 443
Listen 80
 
 
 
LoadModule php5_module        modules/libphp5.so
 
 
 
ExtendedStatus On
 
 
 
<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
 
 
User nobody
Group nobody
</IfModule>
</IfModule>
 
 
ServerAdmin postmaster@ns29772.ovh.net
 
 
 
 
UseCanonicalName Off
 
 
 
DocumentRoot "/usr/local/apache/htdocs"
 
 
 
<Directory />
    Options Includes ExecCGI MultiViews FollowSymLinks Indexes
    AllowOverride All
</Directory>
 
 
 
<Directory "/usr/local/apache/htdocs">
 
 
    Options Indexes FollowSymLinks
 
 
    AllowOverride None
 
 
    Order allow,deny
    Allow from all
 
</Directory>
 
 
UserDir www
 
 
 
 
 
DirectoryIndex index.html index.html.var index.shtml index.htm index.cgi index.php index.wml
 
 
 
AccessFileName .htaccess
 
 
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
</FilesMatch>
 
 
TypesConfig conf/mime.types
 
 
DefaultType text/plain
 
 
<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
</IfModule>
 
 
HostnameLookups Off
 
 
 
 
ErrorLog logs/error_log
 
 
LogLevel warn
 
 
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
 
 
 
CustomLog logs/access_log combined
 
 
 
 
ServerTokens Prod
 
 
ServerSignature Off
 
 
Alias /icons/ "/usr/local/apache/icons/"
 
<Directory "/usr/local/apache/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
 
 
 
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
 
<IfModule mod_cgid.c>
 
</IfModule>
 
#
# "/usr/local/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
 
 
IndexOptions FancyIndexing VersionSort
 
 
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
 
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
 
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
 
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
 
 
DefaultIcon /icons/unknown.gif
 
 
 
ReadmeName README.html
HeaderName HEADER.html
 
 
 
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
 
 
 
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
 
 
 
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
 
 
ForceLanguagePriority Prefer Fallback
 
 
 
AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5        .Big5       .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251   .win-1251
AddCharset CP866       .cp866
AddCharset KOI8-r      .koi8-r .koi8-ru
AddCharset KOI8-ru     .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8       .utf8
 
 
AddCharset GB2312      .gb2312 .gb 
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis
 
 
 
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php .phtml
 
 
AddHandler cgi-script .cgi
 
 
AddHandler type-map var
 
 
AddType text/html .shtml
 
 
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
 
 
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
 
 
 
 
 
#
# Bring in additional module-specific configurations
#
<IfModule mod_ssl.c>
    Include conf/ssl.conf
</IfModule>
 
 
#Sous Apache2 mod_gzip est devenu mod_deflate
#<IfModule mod_deflate.c>
#  <Location />
    # Insert filter
#    SetOutputFilter DEFLATE
    # Netscape 4.x has some problems...
#    BrowserMatch ^Mozilla/4 gzip-only-text/html
    # Netscape 4.06-4.08 have some more problems
#    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    # MSIE masquerades as Netscape, but it is fine
    # BrowserMatch \bMSIE no-gzip !gzip-only-text/html
    # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
    # the above regex won't work. You can use the following
    # workaround to get the desired effect:
#    BrowserMatch \bMSI[E] no-gzip !gzip-only-text/html
    # Don't compress images
#    SetEnvIfNoCase Request_URI \
#      \.(?:gif|jpe?g|png)$ no-gzip dont-vary
    # Make sure proxies don't deliver the wrong content
#    Header append Vary User-Agent env=!dont-vary
#  </Location>
#</IfModule>
 
<IfModule mod_expires.c>
# turn on the module for this directory
ExpiresActive on
 
# cache common graphics for 3 days
ExpiresByType image/jpg "access plus 3 days"
ExpiresByType image/gif "access plus 3 days"
ExpiresByType image/jpeg "access plus 3 days"
ExpiresByType image/png "access plus 3 days"
 
# cache CSS for 24 hours
#ExpiresByType text/css "access plus 24 hours"
 
# set the default to 24 hours
#ExpiresDefault "access plus 24 hours"
</IfModule>
 
#SuPhp
#suPHP_Engine off
#AddHandler x-httpd-php5 .php
#AddHandler x-httpd-php4 .php4
#suPHP_AddHandler x-httpd-php5
#suPHP_AddHandler x-httpd-php4
 
 
 
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at 
# <URL:http://httpd.apache.org/docs/2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
 
#
# Use name-based virtual hosting.
#
#NameVirtualHost *:80
 
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
 
Include conf/vhosts.conf
 
 
 
#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"
 
#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/local/awstats/wwwroot">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
Auriez vous une idée ?

Merci
Bye