Antonio Linares wrote:Carlos,
En la carpeta cgi-bin tienes que tener (ó crea) este fichero:
.htaccess
- Code: Select all Expand view
<Files *>
SetHandler cgi-script
Options ExecCGI
</Files>
Si ejecutas el mc (midnight commander) podras ver los ficheros ocultos facilmente
No hay manera.
No tenía este fichero.
Ahora lo tengo así.
[agave]$ chmod 644 .htaccess
[agave]$ ls -la
total 4016
drwxr-xr-x 2 cargel1 pg5623292 124 May 3 09:22 .
drwxr-xr-x 4 cargel1 pg5623292 115 May 2 15:25 ..
-rw-r--r-- 1 cargel1 pg5623292 67 May 3 09:15 .htaccess
-rw-r--r-- 1 cargel1 pg5623292 1860 Mar 28 15:41 qq.html
-r-xr-xr-x 1 cargel1 pg5623292 1038718 Nov 6 15:17 testdpic
-r-xr-xr-x 1 cargel1 pg5623292 1033703 Nov 6 15:08 testfold
-r-xr-xr-x 1 cargel1 pg5623292 1033674 Nov 6 15:18 testradio
-rwxr-xr-x 1 cargel1 pg5623292 989746 Oct 29 2012 tutor01
[agave]$ ./tutor01
Attention: This is a FiveWeb application that has to be executed
from the server as a cgi-bin, i.e.:
http://server_address/cgi-bin//home/car ... in/tutor01
FiveWeb (c) FiveTech Software 2012
http://www.fivetechsoft.com
Y si hago:
[agave]$ vi .htaccess
El contenido de .htaccess es:
<Files *>
SetHandler cgi-script
Options ExecCGI
</Files>
Que demonios debo tener mal en el servidor?
Gracias.