Conrad
24/02/2004, 08h24
Bonjour,
J'ai besoin d'executer des pl pour que ceci accedent a ma base de données mysql, j'ai regardé pas mal de tuto et j'ai toujours internal error qaund j'execute ceci:
http://www.opaleserveur.com/cgi-bin/ps.pl
j'ai modifié mon httpd.conf de cette facon
# To use CGI scripts:
#
AddHandler cgi-script .cgi pl
le rep cgi-bin est en 755
apres j'ai essayé de rajouter ceci tjrs ds le httpd.conf
<VirtualHost 213.186.47.59>
ServerAdmin webmaster@opale.com
DocumentRoot /home/opale/www/stats/bcsstats1
User opale
Group users
ServerName www.opaleserveur.com
ServerAlias stats.opaleserveur.com
CustomLog logs/opale-access_log combined
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
</VirtualHost>
Rien a faire toujours la meme erreur internal error..
ou puis encore regarder ??
De plus l'alias ne se cree pas, apres l'arret et le redemarage de httpd.conf..
Voici le message ds /var/log/error_log[Tue Feb 24 09:16:22 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:16:25 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:18:08 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:18:10 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:18:17 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/test.pl
[Tue Feb 24 09:20:23 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
___________________________________________
le cgi.log
[2004-02-24 09:24:44]: error: target uid/gid (513/100) mismatch with directory (511/100) or program (0/0)
[2004-02-24 09:28:18]: info: (target/actual) uid: (opale/opale) gid: (users/users) cmd: test.pl
[2004-02-24 09:28:18]: error: target uid/gid (513/100) mismatch with directory (511/100) or program (0/0)
[root@ns30541 httpd]#
J'ai besoin d'executer des pl pour que ceci accedent a ma base de données mysql, j'ai regardé pas mal de tuto et j'ai toujours internal error qaund j'execute ceci:
http://www.opaleserveur.com/cgi-bin/ps.pl
j'ai modifié mon httpd.conf de cette facon
# To use CGI scripts:
#
AddHandler cgi-script .cgi pl
le rep cgi-bin est en 755
apres j'ai essayé de rajouter ceci tjrs ds le httpd.conf
<VirtualHost 213.186.47.59>
ServerAdmin webmaster@opale.com
DocumentRoot /home/opale/www/stats/bcsstats1
User opale
Group users
ServerName www.opaleserveur.com
ServerAlias stats.opaleserveur.com
CustomLog logs/opale-access_log combined
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
</VirtualHost>
Rien a faire toujours la meme erreur internal error..
ou puis encore regarder ??
De plus l'alias ne se cree pas, apres l'arret et le redemarage de httpd.conf..
Voici le message ds /var/log/error_log[Tue Feb 24 09:16:22 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:16:25 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:18:08 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:18:10 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
[Tue Feb 24 09:18:17 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/test.pl
[Tue Feb 24 09:20:23 2004] [error] [client 81.56.203.159] Premature end of script headers: /home/opale/www/cgi-bin/ps.pl
___________________________________________
le cgi.log
[2004-02-24 09:24:44]: error: target uid/gid (513/100) mismatch with directory (511/100) or program (0/0)
[2004-02-24 09:28:18]: info: (target/actual) uid: (opale/opale) gid: (users/users) cmd: test.pl
[2004-02-24 09:28:18]: error: target uid/gid (513/100) mismatch with directory (511/100) or program (0/0)
[root@ns30541 httpd]#