iis

How can I get Apache HTTP Server 2.2 and IIS 5.1 to both work on my localhost?

I figured the easiest thing to do was to just change the port number that Apache listens to, but I still can't get it to start back up after installing IIS. My IIS currently serves up pages correctly at http://localhost:80. I have several PHP projects, and here are the basics of how ports are configured in my httpd.conf: Listen 81 # Be...

Logging requests on high traffic websites

I wonder how high traffic websites handle traffic logging, for example a website like myspace.com receives a lot of hits, I can imagine it would take a lot of space to log all those requests, so, do they log every single request or how do they handle this? ...

When IIS restarts how to go back to same page?

Suppose I have logged into an web application. I'm on the page Default.aspx. If iis restarts then I need to re-login to use the application. Is it possible to go back to the same page if IIS restarts? ...

Tomcat/IIS closes socket after http response has completed

Hi. I am using JBoss 4.0.4 GA, which has Tomcat Servlet Container 5.5. I also have IIS 6.0 redirected to this JBoss. (via IIS tomcat connector, which is used as ISAPI filter in IIS). All is working OK, configured the workers as described. Here is a piece of workers.properties file of the connector: # # Defining a worker named ajp13 and...

Deploying ASP.NET 2.0 to IIs7

How to deploy my ASP.NET website to IIS7? I'm using Visual Studio 2005. And I don't know where to start. ...

Can I change the owner of the file saved through IIS (with ASP.NET)

Is there a way to change owner of saved file using IIS on Windows Server. The easier the better. It doesn't matter either this will have to be done during saving or changing file owner after file is already saved to disc. An example in ASP.NET is highly apriciated. ...

IIS7 - Default document in another (virtual) directory

I have a Website that has a cgi-bin (virtual) directory. I want when someone comes to the site http://www.domain.com/ they are automatically brought to http://www.domain.com/cgi-bin/site.exe. I would like to do this without META Redirect if possible. Can this be configured in IIS7? I know in IIS6, I could specify the default doc...

Is it possible to host more than one website on IIS 5.1?

I'm running WinXP Pro SP3 and IIS 5.1 on my home dev machine. As far as I can tell IIS 5.1 only allows me to host one website, which is a problem because I'm working on three at the moment. Is that right, and, if so, is there any way around that limitation? EDIT: This is just for dev/test purposes - I don't want to actually host any liv...

How to return HttpContext.Current.Cache from WCF?

Hei, I have a WCF service hosted in IIS and want to return the data which is reside in the cache of IIS (HttpContext.Current.Cache) What is the most appropriate choice of type this service should return? Thanks ...

ASP.Net Compilation Conflict... My usercontrol exists in two locations

I get the following error message trying to run my page Compiler Error Message: CS0433: The type 'usercontrols_BirthDetails' exists in both 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5c377e82\1f883022\App_Web_ub0hcxgl.dll' and 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5c...

Integrated Windows Authentication

We're experiencing some really strange problems with Integrated Windows Authentication with IIS and I'm not sure if I can see a pattern or not. We have a DNS-Cname record called Fred. We have an IIS website with Fred set as the host header. When I connect to this site I get prompted with a credential challenge. I would expect my credent...

[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

Our ASP/IIS web server talks to a SQL 2005 db server. Eventually, without a pattern, some pages start showing error instead of the page content: [DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error. Rebooting web server resolves it. Anyone know about it? ...

Anonymous access and NTLM authentication in IIS

I have a server set up with IIS, and my site has some pages which should allow anonymous access and some pages which should require the "Integrated Windows authentication". On the Authentication Method screen in IIS it looks like you can enable both "Integrated Windows Authentication" and anonymous access, but the documentation I've rea...

What role does the file "iis.config" play in the running of a web application on IIS?

We've recently finished development of a web application that works as expected. When we handed it over to the ops team, they freaked out a little bit because we didn't supply the file "iis.config". What is this file? What does it do? Edit: It turns out its a proprietary file for our internal operations monitoring program or somet...

Authentication dialog when running with Visual Studio web server

When using Visual Studio's built in web server, every time I make a page request the standard login box pops up and asks for credentials. It doesn't work if I actually put in my credentials, so I just have to hit cancel 5 times so it will go away. When I run the application through IIS (locally or on test server) it works just fine (no ...

How to stop a 500 .net error created calling the 500 error page

Here's an interesting one for you. I've got my custom 500.aspx setup which is called when a 500 error occurs in my application. The 500.aspx also sends me an email with the error details. I've noticed one small problem. If you attempt an xss attack on the 500.aspx itself, the 500 page is not called. This is obviously some sort of log...

Synchronizing External Configuration Between IIS Servers in a Web Farm

I have been struggling with the best way to make sure that the certain XML configuration files stay synchronized between multiple servers in a Web Farm. I am not necessarily concerned about the Web.Config, as much as I am concerned about some of the other configuration files that are present in the application. For example, we store ca...

Anonymous access (IIS) and SQL Server

I just had an interview in Redmond where they asked me a ton of security based questions surrounding asp.net. One of the questions they asked was about configuring a secure intranet application to use constrained delegation to access the SQL Server. In this scenario an AD user account is delegated access to the SQL Server. The whole p...

Using makecert for Development SSL

Here's my situation: I'm trying to create a SSL certificate that will be installed on all developer's machine's, along with two internal servers (everything is non-production). What do I need to do to create a certificate that can be installed in all of these places? Right now I've got something along these lines, using the makecert a...

HTTP POST to external ASPX form causing a HTTP 405 error in some cases

I have a situation where we're aggregating what amounts to marketing data from N number of clients, where a client can host a HTML form using any backend of their choice, each with the action of the form pointing to a path that we're hosting. Each client has a different URL, there's no auth (but there is some simple validation of the da...