|
|
|
|
Bonjour,
Je n'arrive pas à faire fonctionner un programme mimetex.cgi. Quand je le charge avec le navigateur, j'ai un message d'erreur de configuration apache : Internal Server Error.
J'ai vérifié ma configuration.
Extraits de mon fichier httpd.conf :
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
<Directory "/usr/local/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
...
<VirtualHost 91.121.79.159>
ServerAdmin webmestre@mathforu.com
DocumentRoot /home/mathforu/www
User mathforu
Group users
ServerName www.mathforu.com
ServerAlias mathforu.com
CustomLog logs/mathforu-access_log combined
ScriptAlias /cgi-bin/ /home/mathforu/cgi-bin/
</VirtualHost>
[Thu Sep 27 15:06:51 2007] [error] [client 90.1.60.227] Premature end of script headers: /home/mathforu/cgi-bin/mimetex.cgi
[2007-09-27 14:34:19]: info: (target/actual) uid: (mathforu/mathforu) gid: (users/users) cmd: mimetex.cgi [2007-09-27 14:34:19]: error: file has no execute permission: (/home/mathforu/cgi-bin/mimetex.cgi)
Error_log
|
Ah ...
|
Même problème : http://www.mathforu.com/cgi-bin/test.pl |
Essaie
<VirtualHost 91.121.79.159>
ServerAdmin webmestre@mathforu.com
DocumentRoot /home/mathforu/sd/annuaire/www
User mathforu
Group users
ServerName annuaire.mathforu.com
CustomLog logs/annuaire.mathforu.com-access_log combined
ScriptAlias /cgi-bin/ /home/mathforu/cgi-bin/
<Directory "/home/mathforu/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
lami20j |
Ouf, j'ai eu peur : je n'ai plus eu de site (page blanche !) même après avoir corrigé et relancé apache. Un reboot soft a arrangé les choses .... ;)
<VirtualHost 91.121.79.159>
ServerAdmin webmestre@mathforu.com
DocumentRoot /home/mathforu/www
User mathforu
Group users
ServerName www.mathforu.com
CustomLog logs/mathforu-access_log combined
ScriptAlias /cgi-bin/ /home/mathforu/cgi-bin/
<Directory "/home/mathforu/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
?
J'ai essayé ce dernier code : non rien de mieux .... |
Ne touche à rien et teste
|