Permissions apache 2.0.47 - Installation - Linux et OS Alternatifs
Marsh Posté le 01-08-2003 à 10:27:25
Je suis sous guest mais avec un su je lance apache avec root.
Marsh Posté le 01-08-2003 à 10:54:55
dans /var/log/messages/httpd/  tu as les messages d'erreur 
pour déterminer si le problème vient de la config  ou d'un problème de droit sur le dossier/fichier
Marsh Posté le 01-08-2003 à 13:54:29
C'est bon maintenant j'ai accès au localhost : 
 
Apache Server Status for www.poyry.fr 
Server Version: Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/1.1mdk) mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.47 OpenSSL/0.9.7a PHP/4.3.1 
Server Built: Jul 9 2003 21:24:21  
 
-------------------------------------------------------------------------------- 
 
Current Time: vendredi, 01-aoû-2003 13:51:04 CEST 
Restart Time: vendredi, 01-aoû-2003 13:34:27 CEST 
Parent Server Generation: 0 
Server uptime: 16 minutes 37 seconds 
Total accesses: 6 - Total Traffic: 19 kB 
CPU Usage: u.05 s0 cu0 cs0 - .00502% CPU load 
.00602 requests/sec - 19 B/second - 3242 B/request 
1 requests currently being processed, 5 idle workers 
___W__.......................................................... 
................................................................ 
................................................................ 
................................................................ 
 
Scoreboard Key: 
"_" Waiting for Connection, "S" Starting up, "R" Reading Request, 
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, 
"C" Closing connection, "L" Logging, "G" Gracefully finishing, 
"I" Idle cleanup of worker, "." Open slot with no current process 
 
Srv PID Acc M CPU  SS Req Conn Child Slot Client VHost Request  
0-0 20992 0/1/1 _  0.02 724 0 0.0 0.00 0.00  localhost www.poyry.fr GET /server-status HTTP/1.1  
1-0 20993 0/1/1 _  0.00 972 0 0.0 0.00 0.00  localhost www.poyry.fr GET /server-status HTTP/1.1  
2-0 20994 0/4/4 _  0.03 614 0 0.0 0.01 0.01  localhost www.poyry.fr GET /server-status HTTP/1.1  
3-0 20995 0/0/0 W  0.00 0 0 0.0 0.00 0.00  127.0.0.1 www.poyry.fr GET /server-status HTTP/1.1  
 
 
 
-------------------------------------------------------------------------------- 
Srv Child Server number - generation  
PID OS process ID  
Acc Number of accesses this connection / this child / this slot  
M Mode of operation  
CPU CPU usage, number of seconds  
SS Seconds since beginning of most recent request  
Req Milliseconds required to process most recent request  
Conn Kilobytes transferred this connection  
Child Megabytes transferred this child  
Slot Total megabytes transferred this slot  
 
-------------------------------------------------------------------------------- 
 
Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/1.1mdk) mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.47 OpenSSL/0.9.7a PHP/4.3.1 Server at www.poyry.fr Port 80 
 
 
Mais lorsque j'essaye avec mon adresse internet http://www.poyry.fr ca ne marche pas. 
 
Pourquoi ? 
 
Merci
Marsh Posté le 01-08-2003 à 16:02:09
Tout parait marcher mais en regardant le fichier error_log,j'ai ca : 
 
[warn] child process 20992 still did not exist, sending SIGTERM 
[warn] child process 20993 still did not exist, sending SIGTERM 
[warn] child process 20994 still did not exist, sending SIGTERM 
[warn] child process 20995 still did not exist, sending SIGTERM 
[warn] child process 20996 still did not exist, sending SIGTERM 
[warn] child process 20997 still did not exist, sending SIGTERM 
[warn] child process 20998 still did not exist, sending SIGTERM 
 
Qu'est ce que ca veux dire ? : 
 
Merci 
Marsh Posté le 01-08-2003 à 17:33:21
apache qui se foire apparement :-( 
 
pas eu envie de compiler apache 2.0.47? 
 
perso j'installe apache que comme ca, en le compilant. 
 
et j'ai jamais eu de soucis ! 
Marsh Posté le 04-08-2003 à 10:21:36
Ds ton httpd.conf 
 
donc tu actives le Extendstatus sur on 
 
 
Et après, tu définis qui peut avoir accès, avec un truc ds le genre: 
 
| <Location /server-status>  | 
Marsh Posté le 01-08-2003 à 09:50:06
Bonjour,
J'ai installé apache 2.0.47 sous mandrake 9.1
Lorsque je lance apachectl -> réponse OK
Quand je lance
http://localhost/server-status
il me donne :
Forbiden
You don't have permission to access /server-status on this server
Apache_AdvancedExtranetServer/2.0.47 (mandrake Linux/1.1mdk)...
Il semble que ce ne soit que des problèmes de permissions.
Comment faire svp ?
Merci