Sign In
David Wang
David Wang on IIS, ISAPI, Exchange, Virtual Server, and whatever else I fancy...
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
HOWTO...
HTTP.SYS
IIS
IIS 7.0 (beta)
IIS7
ISAPI
Personal
Sample Code
Tips
Virtual Server
WiX
Your Questions
Archive
Archives
December 2008
(1)
October 2008
(1)
September 2008
(2)
June 2008
(2)
April 2008
(1)
December 2007
(2)
April 2007
(1)
August 2006
(3)
July 2006
(8)
June 2006
(16)
May 2006
(11)
April 2006
(27)
March 2006
(25)
February 2006
(21)
January 2006
(12)
December 2005
(18)
November 2005
(12)
October 2005
(21)
September 2005
(14)
August 2005
(18)
July 2005
(23)
June 2005
(14)
May 2005
(5)
April 2005
(7)
December 2004
(1)
March 2004
(1)
HOWTO...
MSDN Blogs
>
David Wang
>
HOWTO...
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
David Wang
HOWTO: IIS 6 Request Processing Basics, Part 2 - Web Site, Virtual Directory, and Web Application
Posted
over 4 years ago
by
David.Wang
11
Comments
Question: In brief, what is different about a virtual directory that is also set as a Web Application? I can have a virtual directory, and then optionally set it to be a Web Application. Beyond updating the metabase, what does IIS do that causes the...
David Wang
HOWTO: PreCondition an ISAPI Extension DLL
Posted
over 4 years ago
by
David.Wang
2
Comments
Question: Hello We have a legacy x64 ISAPI extension that runs without problems in Win 2003 64bit - IIS 6.0. But in Win2008 EBS Security Manager setup, IIS 7.0 Default Application Pool's WOW64 / Enable32BitApp property is enabled by default,...
David Wang
HOWTO: Change IIS User Impersonation Token
Posted
over 4 years ago
by
David.Wang
2
Comments
Question: Hi, We are using our third party component for doing authentication and authorization with IIS6 web server on win2k3 X64 EE. Here we are using IMPERSONATION concept for this integration. Can anybody describe the required configuration...
David Wang
HOWTO: List all Virtual Directories and Paths of a List of Servers
Posted
over 5 years ago
by
David.Wang
12
Comments
Question: I need to audit web servers in my domain, and would like to be able to connect to each server, and enumerate the virtual directories -- ultimately leading to a link to each web site hosted by the server. Can this code be modified to get that...
David Wang
HOWTO: Basic Native/Managed Code Interop
Posted
over 6 years ago
by
Anonymous
1
Comments
IIS7 core extensibility model supports both native and managed code as first-class citizens. So, I feel it is time for a little refresher on managed/native code interop... starting with the more popular route of how to wrap native code API for use within...
David Wang
HOWTO: Convert between JScript Array and VB Safe Array
Posted
over 6 years ago
by
Anonymous
11
Comments
I recently got a question about how to manipulate the LIST data type within JScript since my sample code only illustrated VBScript. Well... one reason why that example is in VBScript is because LIST manipulation (a VB SafeArray) is more straight forward...
David Wang
HOWTO: Monitor Virtual Server Events
Posted
over 6 years ago
by
Anonymous
9
Comments
I think Virtual Server Events and Asynchronous Tasks are two of the least utilized features of the Virtual Server Administration API. Contrary to the often-asked task of "find the VM, turn it off, manipulate its VHD, then turn it back on", which shows...
David Wang
HOWTO: Diagnose One Cause of "%1 is not a valid Win32 application" on IIS6 on 64bit Windows
Posted
over 6 years ago
by
Anonymous
9
Comments
Question: I have a new development server that i put together on a Windows 2003 64 bit machine. I also have SQL Server 2005 and Developers Studio 2005 and 2003 installed on this machine. I have executed the "Enable32bitAppOnWin64 1" command, as per...
David Wang
HOWTO: Install and Run PHP on IIS7, Part 3
Posted
over 6 years ago
by
Anonymous
5
Comments
A short while ago, I came out with a small script to properly configure PHP for IIS7. Sure enough, I got asked to make a similar one for IIS6. So, I figure that while I am at it, I might as well cover IIS4, IIS5, and IIS5.1 as well since it is not very...
David Wang
HOWTO: Install and Run PHP on IIS7, Part 2
Posted
over 6 years ago
by
Anonymous
50
Comments
A couple of months ago, I wrote a quick and dirty entry on how to install PHP on IIS7. The main purpose of that entry was to explain the details of what was going on as well as cookie-cutter instructions of one way to successfully install PHP on IIS7...
David Wang
HOWTO: Enumerate IIS website and ftpsite configuration (VBScript using ADSI)
Posted
over 6 years ago
by
Anonymous
26
Comments
I recently got a request to make a script to illustrate how to enumerate useful values from both Web and FTP sites serviced by IIS, so I decided to make some additions to the original script tool located here to allow it to easily enumerate both Web and...
David Wang
HOWTO: Useful ASP page to retrieve Request and send Response Headers
Posted
over 6 years ago
by
Anonymous
2
Comments
I am finishing up on the series of ASP pages that show how to: Send Responses of arbitrary Status Code Send Responses with arbitrary types of Entity Body Send Responses with arbitrary Headers (this entry) Query Request Headers (this entry...
David Wang
HOWTO: Access POST form data with ISAPI
Posted
over 6 years ago
by
Anonymous
4
Comments
This is a frequently asked question about IIS6 extensibility - how to access the request entity body on the way in - as well as how to configure IIS. Question: I want to catch all incoming requests, add some header and watch it when its out. Therefore...
David Wang
HOWTO: Useful ASP page to return configurable HTTP Status codes
Posted
over 6 years ago
by
Anonymous
4
Comments
Sometimes, you just want a simple test page on IIS to do some automated testing of your code that interacts with IIS. Here is another useful one in the series. Question: Hi, I have some negative testing therefore need to have IIS to return 403...
David Wang
HOWTO: Rename the Computer running IIS6
Posted
over 6 years ago
by
Anonymous
8
Comments
Question: Hi , I have two web servers. One web server(w2k3Ent) and IIS 6.0 in a work group and One identical Web Server in the Domain. I want to now rename the Server names of the both, to comply some policy. Will the IIS functionality be affected...
David Wang
HOWTO: Run Console Applications from IIS6 on Windows Server 2003, Part 2
Posted
over 6 years ago
by
Anonymous
47
Comments
I finally have enough blog entries about various portions of IIS6 request processing that I can stitch together this meta-blog-entry explaining how it all works together and then apply it towards an issue. You probably want to keep a link to this loaded...
David Wang
HOWTO: Retrieve Request Headers using ISAPI, ASP, and ASP.Net
Posted
over 6 years ago
by
Anonymous
31
Comments
Developers frequently confuse Request Headers, Response Headers, and Server Variables as well as the appropriate syntax to retrieve/manipulate each of them, depending on the API (ISAPI, ASP, and ASP.Net). I am going to clarify all of this right now. ...
David Wang
HOWTO: Perform VHD Maintenance Automatically
Posted
over 6 years ago
by
Anonymous
6
Comments
Question: I would like to have a night script to run on guest machines and perform the following tasks: 1. start / restore from saved state if machine is not running (preferably disconnected from network in order to preserve resources) 2. run on...
David Wang
HOWTO: Get Field Data for Custom Logging with ISAPI Filter
Posted
over 6 years ago
by
Anonymous
11
Comments
Question: I'm trying to write a Filter that handles writing a W3C-compliant log file based on a special set of criteria. I have found most of the needed information in GetServerVariables(), but I still need the following things: sc-status: The status...
David Wang
HOWTO: Maximize the Number of Concurrent Connections to IIS6
Posted
over 6 years ago
by
Anonymous
60
Comments
Question: I'm considering building a realtime ASP.NET application on IIS6, that'll need to support about 3,000 simultaneous users on a server, each with a keep-alive HTTP connection for "server push." The HTTP connection will need to stay open for...
David Wang
HOWTO: Run Console Applications from IIS6 on Windows Server 2003
Posted
over 6 years ago
by
Anonymous
10
Comments
Question: I need some help on the following: I am trying to exectute the netstat comand in side a PHP script using PHP on a wnidows server 2003. The problem is that i am haveing a problem getting the netstat command to exec since it requires adminstration...
David Wang
HOWTO: Install and run PHP on IIS7
Posted
over 6 years ago
by
Anonymous
66
Comments
Question: Hi all, I have trouble to configure PHP 5 (CGI mode) in IIS 7 on Vista 5308... What I did: - Download and unpack PHP - set user permission to PHP folder AND script folder (IIS_IUSRS and Internet Guest Account) - in IIS Manager: Added...
David Wang
HOWTO: Detect Process Bitness
Posted
over 6 years ago
by
Anonymous
21
Comments
In an ideal world, everything runs as native bitness (64bit program on 64bit OS, 32bit program on 32bit OS) and life goes on. However, sometimes you need to run that legacy 32bit program on a 64bit OS and need to configure things a little differently...
David Wang
HOWTO: Install Virtual Server VM Additions Unattended
Posted
over 6 years ago
by
Anonymous
6
Comments
Question: I was wondering if it is possible not to have the virtual machine additions installation eject the iso image after installing, maybe an undocumented switch. I have created a custom OS installation CD and anything to be installed after...
David Wang
HOWTO: Sharepoint and CustomAuth, Part 2 - Investigations Update
Posted
over 6 years ago
by
Anonymous
1
Comments
About a month ago, I solicited user questions in this blog entry on how to integrate customized authentication protocol with Sharepoint, and I was a little overwhelmed by the responses and the variety of situations that users have posted and shared with...
Page 1 of 4 (87 items)
1
2
3
4