The documentation for the ISAPI SetHeader function says that using '\0' for the value of the header will delete the header.
Q1. Is it possible for an ISAPI filter to set the value of a header to the empty string? How?
Q2. Does it even make sense to want to do this? Is it legal in the HTTP protocol to have an empty request header?...
I'm attempting to use Bamboo behind IIS 7. I have exhausted all of my resources so Im hoping someone here can help. After starting bamboo and trying to connect my browser eventually times out with a 503. Please note that only bamboo currently has a problem. JIRA,Confluence and Crowd all work without issue
The logs from bamboo state
j...
Anyone running into issues with this setup?
I'm getting this message:
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
However, I've set cgi.force_redirect equal to 0, and have reset IIS. ...
Hi, it's been a couple of hours now that I'm working on this and I can't seem to figure out what the correct regex is.
First of all, I'm working with IIS6 and ISAPI_Rewrite 3.0 and I'm testing my regex with the utlity that comes with it before using it on the web site.
The website has an web app located at www.foo.com/bar/ and I want t...
I know very little about C++ but I'm trying to tackle something for work and need some help...
I'm using this C++ ISAPI filter code to add a message to the top of a page on a IIS web server running ASP and CFML. This is a web server that will be going away and need a way to notify the users.
This code works for the most part, however...
I wrote this ISAPI filter to rewrite the URL because we had some sites that moved locations... Basically the filter looks at the referrer, and if it's the local server, it looks at the requested URL and compared it to the full referrer. If the first path is identical, nothing is done, however if not, it takes the first path from the fu...
I have an ISAPI filter that I am using to do URL rewriting for my CMS. I am processing SF_NOTIFY_PREPROC_HEADERS notifications, and trying to do this:
DWORD ProcessHeader(HTTP_FILTER_CONTEXT *con, HTTP_FILTER_PREPROC_HEADERS *head)
{
head->SetHeader(con, "test1", "aaa");
con->AddResponseHeaders(con, "test2:bbb\r\n", 0);
retu...
So IIS7 in Integrated Pipeline mode uses a IsapiFilterModule to shim ISAPI filter DLL's and fire off the correct "events" on the filters, which is quite different than previous versions of IIS or IIS7 in classic mode because this means that HttpModules fire off right along side ISAPI filters in Integrated Pipeline mode.
So does anyone ...
Hi all,
I want to replace an old ISAPI filter that ran on IIS6. This filter checks if the request is of a special kind, then manipulates the header and continues with the request. Two headers are added in the manipulating method that I need for calling another special ISAPI module.
So I have ISAPI C++ code like:
DWORD OnPreProc(HTTP_FIL...
Who is responsible for calling CoInitialize and CoUninitialize if
1- I host a COM dll within a surrogate process (either by using dcomcnfg utility or COM+ wizard)?
2- I build a ISAPI DLL that contains COM objects?
...
I tried to find this in the relevant RFC, IETF RFC 3986, but couldn't figure it.
Do URIs for HTTP allow Unicode, or non-ASCII of any kind?
Can you please cite the section and the RFC that supports your answer.
NB: For those who might think this is not programming related - it is. It's related to an ISAPI filter I'm building.
A...
I want to be able to use the .html extension to render ASP pages.
I am using Windows CE 6 at the moment with the default web server, ASP
is turned on.
My registry key looks like HKEY_LOCAL_MACHINE\COMM\HTTPD\ScriptMap with the following string key value pair added .html = \\Windows\\asp.dll. After doing this all my .html files gave...
Is it possible to tie a C++ output stream to another output stream?
I'm asking because I've written an ISAPI extension in C++ and I've written ostreams around the WriteClient and ServerSupportFunction/HSE_REQ_SEND_RESPONSE_HEADER_EX functions - one ostream for the HTTP headers and one for the body of the HTTP response. I'd like to tie t...
In an ISAPI Filter, how can I retrieve metabase properties for the current application?
I know I can get the metabase path by retrieving the server variable APPL_MD_PATH.
How can I get, for example, the PutReadSize property, at runtime, within an ISAPI Filter?
...
Is there a way, inside an ISAPI Filter, to determine the virtual path for the IIS application or virtual directory?
It's basically the same question as IIS Root Path vs Path of virtual directory, but rather than within an ASP.NET application, I want this from within an ISAPI filter.
Does the value of the server variable APPL_MD_PATH a...
I created a HTTP\TCP server in C#. Now I want to host It as I would host normal C\C++ server . I want to give to it namespace on my 80's port near to other HTTP servers I have. (see this topic ) So anyway I want to be able to use ISAPI DLL from. I need a wraper. Where to find such?
...
Hello,
I would like to use the Helicon ISAPI_REWRITE module to rewrite a url:
123.45.67.89/folder
to
www.site.com
I need to mask the IP/folder due to an IIS structure change. The reason why I don't want to get into, but it's valid based on the setup.
Any help would be appreciated.
Thanks.
...
Let's say I have a text file of basic mathematical functions.
I want to make a web service that answers these mathematical functions. Say the first one is y=x*x. If I wanted to turn this into a web service, I could simply do this:
[WebMethod]
public int A(int x)
{
return x*x;
}
However, I've extracted the function from the list b...
I have to url redirect a link which is an HTTP link, but it should redirect to an HTTPS form. How do I do that using ISAPI rewrites?
...
In WIX, I can install an ISAPI filter using the iis:WebFilter element:
<Component Id='C.Filter1' Guid="6781xxxx-xxxx-4893-xxxx-aaaabbbbdddd">
<!-- CreateFolder - included to avoid problem with missing KeyPath -->
<CreateFolder/>
<iis:WebFilter Id="WebFilter1"
LoadOrder="first"
Name="My Custom ISAP...