Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Redirecionamento com ISAPI Extension
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rozan  
View profile   Translate to Translated (View Original)
 More options Oct 22, 3:13 pm
From: Rozan <willmatp...@gmail.com>
Date: Thu, 22 Oct 2009 12:13:44 -0700 (PDT)
Local: Thurs, Oct 22 2009 3:13 pm
Subject: Redirecionamento com ISAPI Extension
Pessoal, desenvolvi uma ISAPI Extension porém não consigo fazer com
que minha DLL faça o redirecionamento/encaminhamento para outra página
html, alguem sabe me falar como fazer isso?

PS.: Utilizo VS2008; o código está em C++; e não utilizo MFC nem ATL

Pessoal preciso disso com urgencia se alguem puder me ajudar eu
agradeço.

William


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Paiva  
View profile   Translate to Translated (View Original)
 More options Oct 26, 11:09 am
From: William Paiva <willmatp...@gmail.com>
Date: Mon, 26 Oct 2009 13:09:14 -0200
Local: Mon, Oct 26 2009 11:09 am
Subject: Re: [ccppbrasil] Redirecionamento com ISAPI Extension

Ninguém?

2009/10/22 Rozan <willmatp...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gianni  
View profile   Translate to Translated (View Original)
 More options Oct 26, 11:47 am
From: Gianni <nasus.maxi...@gmail.com>
Date: Mon, 26 Oct 2009 13:47:50 -0200
Local: Mon, Oct 26 2009 11:47 am
Subject: Re: [ccppbrasil] Re: Redirecionamento com ISAPI Extension
Solução HTML:

                                s_pluginIO->write(
                                                "<html>"
                                                "<head>"
                                                "<meta HTTP-EQUIV=\"refresh\" CONTENT=\"0;URL=./home\">"
                                                "</head>"
                                                "<body>"
                                                "<h3>Carregando...</h3>"
                                                "</body>"
                                                "</html>" );

serve?

On Monday 26 October 2009 13:09:14 William Paiva wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Paiva  
View profile   Translate to Translated (View Original)
 More options Oct 26, 3:45 pm
From: William Paiva <willmatp...@gmail.com>
Date: Mon, 26 Oct 2009 17:45:21 -0200
Local: Mon, Oct 26 2009 3:45 pm
Subject: Re: [ccppbrasil] Re: Redirecionamento com ISAPI Extension

O pior que assim não me serve, eu preciso fazer o reencaminhamento de dentro
da minha DLL, para uma pagina HTML completa, ou seja, eu não faço nada de
codigo HTML na minha DLL, já tentei as seguintes formas, porém não tenho
certeza se a sintaxe que eu fiz está correta, se alguem souber e puder me
dar uma mão, as que tentei são:

pECB->ServerSupportFunction(pECB, HSE_REQ_EXEC_URL, "Location:
http://localhost/exemplo.html\r\n\r\n", NULL, (LPDWORD)"Content-Type:
text/html\r\n\r\n");

pECB->ServerSupportFunction(pECB, HSE_REQ_EXEC_URL_UNICODE, "Location:
http://localhost/exemplo.html\r\n\r\n", NULL, (LPDWORD)"Content-Type:
text/html\r\n\r\n");

pECB->ServerSupportFunction(pECB, HSE_REQ_SEND_RESPONSE_HEADER, "302
Redirect", (LPDWORD)"Location: http://localhost/exemplo.html\r\n\r\n",
NULL);

pECB->ServerSupportFunction(pECB->ConnID, HSE_REQ_SEND_URL_REDIRECT_RESP, "
http://localhost/exemplo.html", NULL, NULL);

Foram essas, e como eu disse nao tenho certeza sobre a sintaxe, apesar de
compilarem, não tenho certeza porque nenhuma me retorna o resultado esperado
sempre me retornando o cabeçalho HTML ao inves da nova pagina HTML, a não
ser o HSE_REQ_SEND_URL_REDIRECT_RESP que me retorna a pagina de destino mas
em um link falando que a mesma foi movida.

caso alguem saiba como me ajudar por favor, preciso entregar esse projeto na
empresa até amanhã sem falta.

Valew

2009/10/26 Gianni <nasus.maxi...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodrigo Strauss  
View profile   Translate to Translated (View Original)
 More options Oct 26, 8:12 pm
From: Rodrigo Strauss <rodr...@1bit.com.br>
Date: Mon, 26 Oct 2009 22:12:34 -0200
Local: Mon, Oct 26 2009 8:12 pm
Subject: Re: [ccppbrasil] Redirecionamento com ISAPI Extension
Header HTTP? Em http://en.wikipedia.org/wiki/Http_redirection tem
várias possíveis soluções.

Rodrigo Strauss
http://www.1bit.com.br

2009/10/22 Rozan <willmatp...@gmail.com>:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Paiva  
View profile   Translate to Translated (View Original)
 More options Oct 29, 12:39 pm
From: William Paiva <willmatp...@gmail.com>
Date: Thu, 29 Oct 2009 14:39:32 -0200
Local: Thurs, Oct 29 2009 12:39 pm
Subject: Re: [ccppbrasil] Re: Redirecionamento com ISAPI Extension

Consegui fazer o redirecionamento, basta usar a seguinte função:

tam = (DWORD)strlen("http://localhost/index.html");
pECB->ServerSupportFunction(pECB->ConnID, HSE_REQ_SEND_URL_REDIRECT_RESP, "
http://localhost/index.html", &tam, NULL);

agora meu problema é outro, xD

preciso capturar a URL que o usuário digita, alguém pode me falar como fazer
isso?

2009/10/26 Rodrigo Strauss <rodr...@1bit.com.br>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodrigo Strauss  
View profile   Translate to Translated (View Original)
 More options Oct 29, 9:08 pm
From: Rodrigo Strauss <rodr...@1bit.com.br>
Date: Thu, 29 Oct 2009 23:08:36 -0200
Local: Thurs, Oct 29 2009 9:08 pm
Subject: Re: [ccppbrasil] Re: Redirecionamento com ISAPI Extension
Isso vem no GET que o browser faz. Dá uma lida em algum tutorial ou
livro de ISAPI, isso é básico e deve ser bem simples. Eu fiz ISAPI já
faz muito tempo, não lembro essas coisas de cabeça...

Rodrigo Strauss
http://www.1bit.com.br

2009/10/29 William Paiva <willmatp...@gmail.com>:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google