Article View: es.comp.os.linux.programacion
Article #14849Re: Problema CGI y Apache.
From: tas
Date: Sun, 24 Sep 2000 00:00
Date: Sun, 24 Sep 2000 00:00
32 lines
1557 bytes
1557 bytes
Santiago Romero escribi�: SR> El caso es que si pongo lynx http://localhost/index.cgi, efectivamente SR> se ejecuta el cgi y veo por pantalla "esto es una prueba". pero si SR> pongo el html, solo veo PRUEBA, y no se ve el resultado del cgi. Si SR> ejecuto LOS MISMOS SCRIPTS en redhat CON LA MISMA CONFIGURACION si SR> que funciona, de ahi mi pregunta :? En mi /etc/apache/srm.conf aparece lo siguiente: # ScriptAlias: This controls which directories contain server scripts. # Format: ScriptAlias fakename realname ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Y en /etc/apache/access.conf esto otro: # /usr/lib/cgi-bin should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. <Directory /usr/lib/cgi-bin> AllowOverride None Options All </Directory> Parece que los cgi, en este caso, deben ir a /usr/lib/cgi-bin. Mira a ver c�mo lo tienes t�. Saludos. -- Debian GNU/Linux
Technical Details
Message-ID:
<7rokq8.jnu.ln@127.0.0.1>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn8spo3d.o5.sromero@compiler.dhis.org>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,1181ef65a018767c
X-Google-Attributes: gidf86c8,public
From: tas <tas@subdimension.com>
Subject: Re: Problema CGI y Apache.
Date: 2000/09/24
Message-ID: <7rokq8.jnu.ln@127.0.0.1>
X-Deja-AN: 673474419
Content-Transfer-Encoding: 8bit
References: <slrn8spo3d.o5.sromero@compiler.dhis.org>
Organization: Bits & Bobs Inc.
Content-Type: text/plain; charset=ISO-8859-1
User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (Linux/2.2.16 (i586))
Mime-Version: 1.0
Newsgroups: es.comp.os.linux.programacion