Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Sample Code » IIS   (RSS)
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 Read More...
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 Read More...
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. Read More...
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 Read More...
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) You know, the Read More...
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, 404 or Read More...
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 Read More...
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. :-) Read More...
Question: I have a Windows XP SP2 machine that requires IIS running only sometimes, so I set these service to Manual startup (I use a script to start them when I need them): IIS Admin Simple Mail Transfer Protocol (SMTP) World Wide Web Publishing However Read More...
Question: Hello, I am looking to automate installation of an ISAPI filter since I want it to be a part of my server deployment. Is there a way to install an ISAPI filter dll using a javascript or a vbscript? If yes can someone give me pointers to the Read More...
Question: Is there way to script a check on the success or failure of the Filter, ie a vbscript object that contains the state of loaded DLL's? One can get the list of filters installed from the metabase, but how would one get the state? The metabase Read More...
Since I get this following question on how to compile/use my ISAPI code examples quite a bit, I wager I should just have a blog post that answers it once and for all. But, come on you guys... I already did the hard part in providing the full compiling Read More...
Question: Hello, I recently had to modify a domain administrator account on my system and as a result parts of my web site are no longer operational. I keep getting a 401.1 error whenever my web pages attempt to execute a Perl script that dynamically Read More...
While I do not recommend users to freely write ISAPI Filters and install them on IIS, there are still tasks that favor/require ISAPI Filter... even on IIS6 with HSE_REQ_EXEC_URL. Question: Hello David, I came across your blog several times when I am searching Read More...
I have not checked out the AJAX craze surrounding Atlas, so I am not certain what is the goal here. However, that does not stop me from making observations about how the user's code is not exactly doing what is hoped... ;-) Question: When I have a URL Read More...
More Posts Next page »
 
Page view tracker