isapi

ISAPI Rewrite with instead of mod_rewrite

I'm installing Modx on windows with ISAPI Rewrite instead of apache with mod_rewrite? How do you define the rewrite rules? I'm guessing not with an .htccess file? any Ideas? Thanks ...

Is possible to hide a .dll extension in a url

Hello there, I'm looking for a trick to hide the .dll extension of an isapi dll in an url. I don't know if this is possible. but I preffer to hide it. Example www.mysite.com/test/myapp.dll/testfunction would be www.mysite.com/test/myapp/testfunction Thank you very much ...

Isapi rewrite filter ends up in a loop

I am using ionics isapi rewrite filter to redirect all .asp files to validate.asp file to do session validation. But I end up in a loop. Any help would be much appreciated. my .ini file ReDirectRule ^/XXXX/(.*).asp?(.*) /YYYY/validate.asp$2&url1=$1&url2=$2 [R] validate.asp <% 'validation step goes here.. Response.Redirect("../XXX...

Using HttpModule to Display Images

I have an HttpModule that displays images that follow a certain URL pattern. For example, /images/employees/jason.jpg is handled by the module, but all other images aren't. It works just fine on my local machine (Cassini and IIS 7). However, the IIS6 production server isn't working. I've had the hosting company map the images to the ASP....

ISAPI Rewrite Syntax Help?

I'm struggling to get some code working for an old ASP store site I manage - I have added the following which works perfectly well RewriteBase / RewriteRule ^cat/[^?/]*_(\d+)\.htm /store/prodList.asp?idcategory=$1 [QSA] Problem is if the category page has more than one page! As it adds another couple of parameters to the querystring ...

Correlate application logs (Coldfusion/J2EE) with IIS logs to debug client network problems

I've seen some clients complaining about slowness of my website lately and I'm pretty sure that the problem is related to their network. I'd like to be able to justify this to myself more thoroughly and also be able to more proactively reach out to clients that appear to be having network issues before they come banging on my door. If ...

Why are the pointers in my 64-bit ISAPI dll messed up?

I am working on migrating a 32-bit ISAPI dll to 64-bit. I am using Visual Studio 2008. I am having problems with the EXTENSION_CONTROL_BLOCK pointer in the HttpExtensionProc function. The char pointers within the EXTENSION_CONTROL_BLOCK structure are not valid on entry into the function; they are labeled with within the watch window....

%2B decoding to a space instead of a plus

We have a problem in a specific server. All plus signs posted to the application are replaced with spaces - that's in POST and GET, and on all pages on that site. As a test case I have this little page (it's an ASP server): <html> <body> <form method="post"> <input type="text" name="Plus" id="Plus" /> <input type="submit" />...

How to Redirect www.mydomain.net to www.mydomain.net/blog

Hello I'm using 'Ionics Isapi Rewrite Filter' I have a web site with a empty root www.mydomain.net and I want, when someone use this url, redirect to my blog www.mydomain.net/blog, how is it possible?. ...

Use ISAPI filter to trace and time a WCF call?

I'm building a web application using WCF that will be consumed by other applications as a service. Our app will be installed on a farm of web services and load balanced for scalability purposes. Occasionally we run into problems specific to one web server and we'd like to be able to determine from the response which web server the reques...

Injecting html code and responding to post events using ISAPI

Hello. I want to inject the code on each page for arbitrary web application. Lets imagine i want to add rank input for a page that can be toggled on/off using web.config only, without changing the source code. I know I can inject and change html using Filter, but I am unsure if I can respond to the post. Lets imagine user voted and af...

Prevent Delphi COM component from showing MessageBox()

We have a Delphi 2007 COM component being executed from an ISAPI app. The COM component is hanging the app because it is attempting to display a MessageBox(). The call to MessageBox() must be occurring in the Delphi RTL becase it is not in our user code. The app hangs, of course, because there is no one logged in at the server to clea...

Flash/Flex Forms/Gateways problems running CF8 with Siteminder

Is anybody out there successfully running SiteMinder along with CF8 on an IIS server? Here's the problem. It took some effort, but about a month ago I installed Siteminder on my company's CF7 server. Siteminder and CF7 worked together in harmony, everything worked properly (flash forms, flashremoting, flex gateway). A few days ago we ...

Configuring IIS7 to server both a wildcard ISAPI DLL and static files

I have an ISAPI DLL that is configured in IIS for wild card mapping. When a request URL corresponds to a static file, I want IIS's StaticFileModule to serve that file. When the file doesn't exist, I want the ISAPI DLL to handle it. The handlers section of my web.config, located in the root of the static files hierarchy, looks like t...

ISAPI Extensions: What is the difference between TerminateExtension and the extensions destructor?

Is there a difference between TerminateExtension() and the extensions destructor? Obviously both are used to cleanup resources but what kind of cleanup should be in one function and not the other? ...

ISAPI rewrite products

I need mod_rewrite functionality on an IIS .NET server. Is http://www.isapirewrite.com/ the best option? It seems to have the largest documentation/user base. I also see codeplex.com/IIRF , this is free but comments mention it has a different syntax from .htaccess? I am very unfamiliar with IS .NET and would like to mimic Apache .htacces...

if else .htaccess/ISAPI

I would like to check a URL to see if it contains one of multiple strings, and then based on that, send it to a different URL. Am I forced to use multiple lines, one for each possibility? Or is there anyway to form an if statement? I figured that something like this should work: (string1)(string2)(string3) example.com/$1$2$3 because in...

Solved -> Just Installed ISAPI 3 -> httpd.ini / .htaccess not working!

trying a simple 1 to 1 redirect. I've tried this the ISAPI way and the Apache way, nothing seems to work. While I know this is very vague, I am very unfamiliar with this system. What steps would you recommend to troubleshoot? Problem Solved. For further discussion -> troubleshooting techniques ...

How to remove Headers in an ISAPI filter?

The ISAPI Filter documentation says I can call SF_REQ_SEND_RESPONSE_HEADER to send the response header, and also append additional headers. ISAPI also has AddResponseHeaders to allow a filter to add additional headers to be sent in the response to the client. Is there a way, in ISAPI, to remove headers that would otherwise be sent t...

Helicon Isapi rewrite - can't get urls to be case insensitive

Running Helicon Isapi rewrite to make overly long coldfusion CMS generated urls 'friendly'. Works very well and we've been using it for several years both with direct rewrites and regex. I cannot get it to treat urls case insensitively. The following rule is an example: RewriteRule /scriptcontent/h1n1/h1n1submission.cfm\?section=Human...