hola,
habia empezado con php y ahora quiero ver el funcionamiento de los cgi's
he instalado elpaquete Abriamerlin(apache-php-perl--), y cuando pongo mi cgi hola mundo me sale lo siguiente:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected]ess 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.
esta el la ruta de mi localhost: http://127.0.0.1/cgi-bin/hola.cgi
y este le codigo de hola.cgi:
int main(){
printf("Content-Type: text/html\n\n");
printf("<html>Hola Mundo</html>\n");
return ( 0 );
}