HOWTO: Enumerate IIS website and ftpsite configuration (VBScript using ADSI)

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 FTP sites. The modifications basically illustrate how…

27

HOWTO: Access POST form data with ISAPI

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 I used a filter which can’t be use…

4

HOWTO: Rename the Computer running IIS6

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 because the IUSR accounts still be left with…

8

HOWTO: Run Console Applications from IIS6 on Windows Server 2003, Part 2

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 entry. Anyhow, here goes… Question: We currently has IIS 6 installed on a…

47

Why Clicking a hyperlink can result in multiple requests to web server(s)

Question: Dear Experts, If you could share your opinions or point out some reference links, I do appreciate! My web server: IIS and SharePoint Portal server 2003 My qestion is: After I click one hyperlink in a page (ASP.NET site) using IE, why there are 3 requests recorded in the IIS log file? Example:2006-04-25 20:16:54…

4

HOWTO: Retrieve Request Headers using ISAPI, ASP, and ASP.Net

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. 🙂 Question: So I’ve managed (thanks to your samples) to create a filter that adds a…

32

HOWTO: Get Field Data for Custom Logging with ISAPI Filter

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 code returned by the server on the request (i.e. 200 if the HTTP request…

11

HOWTO: Run Console Applications from IIS6 on Windows Server 2003

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 privage but PHP does not have such privage…

10

IIS6 and HTTP Server API, Part 1

Question: Hi, I’ve found these articles:http://support.microsoft.com/default.aspx?scid=kb;en-us;q311852http://support.microsoft.com/default.aspx?scid=kb;en-us;q327611 First of all I’ve got a question. READ_RAW_DATA can be used to modify the request body not only the headers. Why is it gone? If you don’t want to modify its behavior you should add a new notification type (input and output as well) only for modifying the entity…

9

HOWTO: Install and run PHP on IIS7

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 pages in Default documents- Added in “ISAPI and GCI Restrictions”: Allowed PHP …

67