iis-6

What options are there to selectively enable or disable IIS 6 compression

荒凉一梦 提交于 2019-12-24 01:19:20
问题 Unlike IIS7, in IIS6 the 'Compress application files' and 'Compress Static files' options are server wide so they apply to every website and virtual directory. I recently enabled it server wide and I'm beginning to see more and more places where things are being compressed that I don't want -- notably dynamically created images. Is there any kind of configuration for compression to enable or disable it for a 'web.config' based .NET application. I have ASP.NET 1.1, ASP.NET MVC 1.0 apps running

Fire events for requests to static content without setting runAllManagedModulesForAllRequests to true

为君一笑 提交于 2019-12-24 00:57:58
问题 I'm looking for a more precise solution to handle requests for static contents by the ASP.NET lifecycle without setting runAllManagedModulesForAllRequests to true. As far as I know is the effect of runAllManagedModulesForAllRequests = "true" that the precondition attribute of each module will be set to "" . The problem: I have to protect static content in a subfolder of a web application against unauthorized access To include requests to those static contents in the ASP.NET lifecycle and

SSL on a single server for multiple web sites

梦想的初衷 提交于 2019-12-24 00:40:04
问题 Here is my scenario: default website on IIS 6.0 is already protected by an SSL cert with common names covering the following: domainname.com www.domainname.com I have a new website on the same IIS server and need to protect it with an SSL cert with the following common name: subdomainname.domainname.com (same domainname as default) I do not have the freedom to add a new IP address to the server. Not an infrastructure friendly request for whatever reasons. We also have our Exchange webmail

Getting IIS6 to play nice with WordPress Pretty Permalinks

点点圈 提交于 2019-12-24 00:26:25
问题 I've got a WordPress powered blog that I'm trying to get setup on our IIS6 server and everything works besides the permalink structure which I'm having a big headache with. After googling around/wordpress codex I learned that it's because IIS6 doesn't have the equivalent of Apache's mod_rewrite which is required for this feature to work. So that's where I'm at now. I can't seem to find a functional solution to get the pretty permalinks to work without the "index.php/," anyone have any

IIS 6 not allowing periods in the querystring

我只是一个虾纸丫 提交于 2019-12-23 23:44:05
问题 I have deployed an asp.net site with a wcf rest service to a virtual directory. It accepts lat/lon in the querystring. IIS is apparently not allowing querystrings that contain a '.'. I have found numerious posts on the topic, but cannot seem to resolve the issue. I have tried enabling parent paths on both the parent website and the virtual directory: http://support.microsoft.com/kb/332117 I have already tried the httpRuntime setting for relaxedUrlToFileSystemMapping="true" http://haacked.com

WCF “The server did not provide a meaningful reply”

醉酒当歌 提交于 2019-12-23 20:38:40
问题 I am out of ideas here, so I'm hoping someone can help. Here is what I've got: A WCF service that only has a basicHttpBinding endpoint. There is only a service interface, all other [DataMember], [FaultContract] are concrete types. When I run it straight from Visual Studio (using WCF Test Client or my custom app) everything works (I send a request and get a response). This usually takes a second or two. I published it to an IIS 6 server. I can successfully open http://server/WebService

No error messages returned when mysql_connect does not work for PHP on IIS

回眸只為那壹抹淺笑 提交于 2019-12-23 20:14:47
问题 I am new to PHP and MySQL and have recently installed both PHP v5.3.10 and MySQL v 5.5.21 on a Windows Server 2003 server already running IIS v6. PHP runs and I have created a database on MySQL from the MySQL 5.5 Command Line Client. However, when I try to access the database from PHP with the following commands: echo "Open database"; $link = mysql_connect($host, $username, $password); echo " link: $link"; if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db($db_name,

Classic ASP Request.Form not working when using integrated pipeline

此生再无相见时 提交于 2019-12-23 20:08:57
问题 I have a large corp. web site with mixed classic asp and asp.net currently hosted with a Win 2003 server, IIS 6. I need to modify all the pages output with some html modifications regardless the world they comes from. The asp part it's really old and badly structured, thus I can't act on any kind of "general include" to apply all the changes we need. Lastly some asp pages outputs code from multiple OCX/COM objects... We are already planning a whole rewrite/migration to .net, but unfortunately

How to get a pdf to display in a web browser before it's fully downloaded

与世无争的帅哥 提交于 2019-12-23 17:25:00
问题 I have a client that's been struggling with slow loading pdf files on the web. My client has some very large pdf files that are almost 10 Mb. They take upwards of 3-4 minutes to download. The files will not display until the whole file is loaded. We and they have seen other's sites where the pdfs load one page at a time, so the end user can start looking at the file as the rest of the page is still loading in the background. Gives the illusion that the page has loaded faster. According to the

elmah on IIS 6 box

爱⌒轻易说出口 提交于 2019-12-23 15:37:05
问题 I've got a web site with elmah running on it logging to a sql box. In my test env it's a IIS 7 machine and all works well. When i upload to a network solutions web running IIS 6 I get an error [SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean