isapi

url rewrite in IIS

Hello This question is related to another question which I asked yesterday! http://stackoverflow.com/questions/220796/list-all-links-in-web-site I think renaming all the .html files to .asp and changing the links is not good for SEP purposes. Some one told me that isapi plug-in can be used to redirect(301) all .html files to .asp fil...

ASP.NET url MAX_PATH limit

Hi, I've found an issue with ASP.NET that I know at least has stumped one other person out there. We were trying to use an HttpModule to handle wildcard requests to a web application. The generated url is dynamic and could potentially be several hundred characters long. Unfortunately there appears to be a limitation in the aspnet...

basic iis 5.0 xml parsing error on local site

I'm starting a new job and am inheriting a asp .net web application on the 2.0 .net framework. The application works alright. It published successfully from vs 2005. I created a new virtual directory in IIS and pointed to the precompiled directory just published. When I load my application, I get an error that reads as follows: XML Par...

Can I create a unique filename based on ProcessID and ThreadID?

I have a delphi (Win32) web application that can run either as a CGI app, ISAPI or Apache DLL. I want to be able to generate a unique filename prefix (unique for all current requests at a given moment), and figure that the best way to do this would be to use processID (to handle CGI mode) as well as threadID (to handle dll mode). How wo...

ASP.NET URL rewriting for DB query from URL content without extension

I am trying to create a very simple ASP.NET application that presents information out of a datbase based on the URL, similar to a wiki, but in this case the site is read-only. An example of a url I'd like would be: http://www.foo.com/bar and then it would use "bar" as a SQL query parameter to show information from a database that matc...

ASP file being caught by .NET isapi

I need to serve up a few .asp pages from within my ASP.NET site. This ASP.NET site has a handler that allows us to serve up pages out of the database instead of finding them on disk (where the .asp files are located). The problem appears to be that the .NET isapi (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll) is catchi...

Best way to debug a Windows CGI

I have a Windows CGI created with Delphi 2007 using CGIExpert that I need to debug. Is there any simply way to run it from within the IDE while passing parameters to it? I tried setting the Host Application to iexplore.exe (Run|Parameters) and entering some text on the Parameters field but it just can't seem to pass any parameters at ru...

Server Side Cookie Injection

I have an app that is a combination of asp/asp.net, and both sides depend on the same cookies (they are in the same domain). There are some values in the cookies that I don't want going to the client anymore due to security concerns. What I was hoping to accomplish is to take out these values so they no longer go to the client, and the...

Route files with vbscript from a .net handler back to asp.dll

We are migrating from asp classic to .net. Unfortunately they named all of the .asp files as .aspx so that they wouldn't lose page rank when they moved to .net. This means that IIS maps all .aspx files to asp.dll. After changing the mapping back I was going to try have a handler grab the request then check if there is any vbscript in th...

Migrating from IIS 5.1 to Apache 2.11, how do I move/translate ISAPI filters into Apache?

Maybe this isn't even a valid question, so any help would be good. ...

Can a Classic ASP application be secured using HTTPModules?

I have a classic ASP application currently secured using ASP.NET Forms Authentication running on IIS 6, the problem is our purposes require this application implement a Single-Signon security model using Entrust TruePass which uses Client Certificates I believe. Can this be implemented using ASP.NET Http Modules or do I have to write an ...

Custom authentication at the URL level, use ISAPI still with .NET or is there a new way?

Is there a non-IIS way of authenticating users that is not with HTML? I know I can create my own ISAPI filter for IIS, but I want to achieve the same thing, with .NET code and not integrate it with IIS. Is there a way to do this now, with the latest .NET, or is ISAPI still the way to go? ...

ISAPI Rewrite 3 rule syntax

I'm installing ISAPI Rewrite 3. I'd like to do the following with it: The box serving HTTP documents with ISAPI Rewrite 3 has a hypothetical URL of http://www.foo.com. I want a rule that will point http://www.foo.com/blog to http://blog.foo.com. I don't want a physical redirection. I prefer a proxy so that it doesn't look like we're ev...

ASP.NET & AJAX threading

Referencing this question: http://stackoverflow.com/questions/435492/is-asp-net-multithreaded-how-does-it-execute-requests, would this be a correct interpretation of threading: ASP.NET has one worker process per application instance. It is multi-threaded, using its own application pool. The majority of threads are used for servicing...

ISAPI rewrite question on IIS

I have the following rules: RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule ^blog/?$ http://blog.example.com/ [P] RewriteRule ^(blog/.*)$ http://blog.example.com/$1 [p] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^(.*)?$ http://www.example.com/$1 [L,R=301] What I'm trying to achieve, and it works up ...

Determining response length from an ISAPI filter

I am working on an ISAPI Filter to strip certain content out of responses. I need to collect all the body of the response before I do the processing, as the content I'm stripping could overlap send buffers. To do this I'd like to buffer the response content with each SF_NOTIFY_SEND_RAW_DATA notification until I get to the last one, the...

IIS -> Isapi_Redirect -> Tomcat

I've been trying for days to get Tomcat up and running through IIS via the Jakarta Connector. I've followed all of Microsoft's instructions -- put the connector .dll in %tomcatdir%\bin\win32\i386\, added the registry entry, added a filter (pointing to the .dll) to the default web site... and yet, any time I try to access a Tomcat web ap...

Some SharePoint pages serve as http in https environment

I have a WSS 3.0 system using SSL where every page is supposed to be served as https. Almost all pages do come out as https, but in certain cases I click on a link and that brings up an http version of a page (which does not load). In those cases I have to put the 's' in by hand to get the page to load. Places where this happens are: /...

ISAPI proxy authentication problem on IIS

Hi there, i’ve got an “public” IIS “in the front” and another “private” IIS “in the back” of an network. I’d like to proxy http requests through the “public” IIS to the “private” IIS – and using ISAPI-Rewrite ( Version 3.1.0.62 ) it almost works. The problem is the authentication – I configured the “public” IIS to enable anonymous acc...

'Masking' external url links using RewriteProxy derictive

Hi I have a simple rewrite rule that writes to an external domain using the Helicon Isapi_Rewrite 3 RewriteProxy derictive. Example: RewriteProxy blog http://blog.com However, links on the external site are not masked by the proxy as I would have expected them to be. They are still pointing to http://blog.com/link1 rather than http://...