bonjour j'explique le topo j'ai installé un logiciel qui s'appele backuppc qui utilise comme interface graphique des page web.
Pour pouvoir afficher cette page web je suis oblige de mettre apache2 soit www-data dans le group de backuppc car sur le script de demarrage backuppc_admin, il utilise le bit suid ce qui donne:
-r-sr-xr-- 1 backuppc backuppc 3924 Feb 16 15:45 BackupPC_Admin
Aprés avoir lance le localhost/cgi_bin/ j'ai une page qui m'affiche:
Forbidden
You don't have permission to access /cgi-bin/ on this server.
Apache/2.0.54 (Debian GNU/Linux) Server at localhost Port 80
si je tape l'adresse localhost/cgi_bin/BackupPC_Admin il m'affiche:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.54 (Debian GNU/Linux) Server at localhost Port 80
et si je regarde dans le error log de apache2 ca m'affiche :
[Mon Feb 20 13:15:41 2006] [error] [client 127.0.0.1] File does not exist: /var/www/backuppc/cgi-bin
[Mon Feb 20 13:15:41 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Feb 20 13:16:08 2006] [error] [client 127.0.0.1] File does not exist: /var/www/backuppc/cgi-bin
[Mon Feb 20 13:16:08 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Feb 20 13:16:10 2006] [error] [client 127.0.0.1] File does not exist: /var/www/backuppc/cgi-bin
[Mon Feb 20 13:16:10 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
Can't do setuid (cannot exec sperl)
[Mon Feb 20 13:16:13 2006] [error] [client 127.0.0.1] Premature end of script headers: BackupPC_Admin
[Mon Feb 20 13:16:13 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
Ce qui m'aide pas beaucoup voila je suis a bout de nerf donc si quelqu'un peut m'aider j'en suis trés trés reconnaisant
merci d'avance
# probleme apache2 erreur 500
Posté par tese . En réponse au message probléme apache2 erreur favicon.ico. Évalué à 1.
Pour pouvoir afficher cette page web je suis oblige de mettre apache2 soit www-data dans le group de backuppc car sur le script de demarrage backuppc_admin, il utilise le bit suid ce qui donne:
-r-sr-xr-- 1 backuppc backuppc 3924 Feb 16 15:45 BackupPC_Admin
Aprés avoir lance le localhost/cgi_bin/ j'ai une page qui m'affiche:
Forbidden
You don't have permission to access /cgi-bin/ on this server.
Apache/2.0.54 (Debian GNU/Linux) Server at localhost Port 80
si je tape l'adresse localhost/cgi_bin/BackupPC_Admin il m'affiche:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.54 (Debian GNU/Linux) Server at localhost Port 80
et si je regarde dans le error log de apache2 ca m'affiche :
[Mon Feb 20 13:15:41 2006] [error] [client 127.0.0.1] File does not exist: /var/www/backuppc/cgi-bin
[Mon Feb 20 13:15:41 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Feb 20 13:16:08 2006] [error] [client 127.0.0.1] File does not exist: /var/www/backuppc/cgi-bin
[Mon Feb 20 13:16:08 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Feb 20 13:16:10 2006] [error] [client 127.0.0.1] File does not exist: /var/www/backuppc/cgi-bin
[Mon Feb 20 13:16:10 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
Can't do setuid (cannot exec sperl)
[Mon Feb 20 13:16:13 2006] [error] [client 127.0.0.1] Premature end of script headers: BackupPC_Admin
[Mon Feb 20 13:16:13 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
Ce qui m'aide pas beaucoup voila je suis a bout de nerf donc si quelqu'un peut m'aider j'en suis trés trés reconnaisant
merci d'avance