![](https://seccdn.libravatar.org/avatar/28fb60f36a5c05d6e95d00be1c0c257c.jpg?s=120&d=mm&r=g)
Le 28/06/2014 09:09, jdd a écrit :
and if somebody can help making the script run right from index.cgi, I take it :-)
right now, the Apache2 options are: <Directory "/srv/www/essai/"> Options +ExecCGI AddHandler cgi-script .cgi Order allow,deny Allow from all </Directory> and http://dodin.org/essai/th/index.cgi ask me to download the file in place of executing it. the content of the file is the OP link: #!/bin/sh echo “Content-type: text/html” echo “” for name in * do echo “<img src=$name><br />$name<br />” "done exit 0 I'm not sure the syntax is correct, but it shouldn't prevent execution at all? jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org