🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1808

Re: ISAPI Consulta

#1808
From: JuanCarlitro
Date: Fri, 19 May 2006 16:52
45 lines
2557 bytes
gato2005_cl wrote:
> Cuando transcurre el tiempo suceden cosas como esta:
>
> Necesito un isapi server(no un filtro) para redirecionar creado via VC++
>
> Como me acuerdo que lo hice antes es usar el ultimo codigo que escribo
> en un projecto creado por el "isapi wizard".
> Lo use en un formulario y la respuesta que retorna dicho formulario es
> BAD REQUEST
>
> El cliente envió una petición que no fué reconocida por el servidor.
>
> Al hacer acceso directo(http://localhost/cgi-bin/isapisample.dll" genera
> el codigo <%@ LANGUAGE="VBSCRIPT" %><% response.redirect
> "http://www.yahoo.com" %>.
>
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Documento sin t&iacute;tulo</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
>
> <body>
> <form name="form1" method="post" action="/cgi-bin/isapisample.dll">
>    <input type="submit" name="Submit" value="Enviar">
> </form>
> </body>
> </html>
>
>
> void CIsapisampleExtension::Default(CHttpServerContext* pCtxt)
> {
> 	*pCtxt << "\<%\@ LANGUAGE=\"VBSCRIPT\" %\>";
> 	*pCtxt << "\<% response.redirect \"http://www.yahoo.com\" %\>";
>
> }
> 
> que genera

No entendí ni weas... explayate mejor para ayudarte
Technical Details
Message-ID: <1148057528.250910.123840@i39g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
References: <e4irbf$7f9$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,494c610d4bd0a0f5
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
From: "JuanCarlitro" <forhekset@gmail.com>
Newsgroups: chile.comp.programacion
Subject: Re: ISAPI Consulta
Date: 19 May 2006 09:52:08 -0700
Organization: http://groups.google.com
Lines: 46
Message-ID: <1148057528.250910.123840@i39g2000cwa.googlegroups.com>
References: <e4irbf$7f9$1@news.nivel5.cl>
NNTP-Posting-Host: 200.14.107.2
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1148057533 31615 127.0.0.1 (19 May 2006 16:52:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 19 May 2006 16:52:13 +0000 (UTC)
In-Reply-To: <e4irbf$7f9$1@news.nivel5.cl>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 2KISASCL01
Complaints-To: groups-abuse@google.com
Injection-Info: i39g2000cwa.googlegroups.com; posting-host=200.14.107.2;
   posting-account=aBqmmQ0AAAB4xGSncQsZ4pLjaCoFy1Ch