Tag Info

Hot answers tagged

17

It is definitely System Log. Which Log file? Well -- you can check the physical path by right clicking on the System Log (e.g. Server Manager | Diagnostics | Event Viewer | Windows Logs). The default physical path is %SystemRoot%\System32\Winevt\Logs\System.evtx. You can create a Custom Filter and filter by "Source: WAS" to quickly see only entries ...


15

There are a few ways you can do this but if you have the URL Rewrite Module installed, it's fairly easy and a good way to do it. You can paste the below configuration into your site's web.config file. <rewrite> <rules> <rule name="https redirect"> <match url="(.*)" ignoreCase="false" /> ...


7

IIS7+ is actually pretty darn' fast. There isn't much you can do to speed up IIS; in general you'll optimize on the HTML, JS, Images, CSS, HTTP, HTTP headers, and possibly webapp code (C# etc). These issues are cross-platform. The user interface is of course different between Apache and IIS, but the knowledge is much the same. Steve Souders literally wrote ...


6

There's nothing explicitly wrong with it. It's just a domain. It's as cumbersome as you choose to make it. Some legitimate concerns, however, would revolve around the testing of security and certificates, etc. Since certificates are based on the TLD, it would be impossble to run tests against any web service that sits behind an SSL layer. Similarly, ...


5

From How to change the TCP port for IIS services Open Internet Information Services (IIS) Manager. Select the Web site that you wish to configure. In the Action pane, click Bindings. Click Add to add a new site binding, or click Edit to change an existing binding. Click OK to apply the changes.


5

In order for IIS to allow access to the file at all, it needs to be assigned a MIME-type. Use application/octet-stream and the browser will almost certainly treat it as a file it can't handle itself. (You could also experiment with application/x-whatever-you-want)


5

There are a couple of ways this can be done. IIS7 introduced the integrated pipeline. Many IIS6 developed applications can handle running as is in the IIS7 integrated pipeline, but for the ones that can't there are a couple of options for what can be done. The easiest thing to do would be to switch the app pool the site or application is running to ...


5

This won't work in an HTML page, so is it possible to configure IIS 7 to have the #include directive work in both HTML and PHP pages? Is there a better way to do this period? Something that might simplify things for you overall would be to configure IIS to use PHP code inside .html files instead of .php files. Then you'll be able to use PHP code ...


4

It's really very hard to suggest anything without more information, the nameserver thing is weird but not unheard of in the messy world of DNS. If I had to guess I'd say it's something local rather than your site. The most common cause I've seen for this kind of thing is the adblock plugin, cached DNS information or overactive antivirus/antimalware. I'd ...


3

Are you sure you added the correct mime-type to the server? When I test it here locally the iPad seems to be sensitive to which mime-type is used in the response. I've tested it with video/mp4 which seems to work fine but video/mpeg doesn't work.


3

This can be done with URL Rewrite module using "Reverse Proxy" kind of rule (when incoming request is handled/internally redirected to be processed by another back-end server), but for this you will also need an Application Request Routing to be installed. Unfortunately I have not dealt with AAR much and cannot really advise further. With Apache it is easier ...


3

There are lots of bots (computer programs) that visit webpages. However, they pretend to be real users by using the user agent of a popular browser, such as IE or firefox or chrome; instead of using their own specialized user agent so the server knows they aren't real people. As a result, the IIS logs count them as real users. Google Analytics doesn't, ...


3

This may be a problem if there is a server in between which is decompressing the content, such as a load-balancer, CDN, or proxy. If the content is sent encrypted on localhost, it will be sent encrypted to you unless there is a client in between which does not have the Accept-Encoding:gzip header in the request. The best way to check for compression is to ...


3

You haven't specified a web server however you appear to be involved in .net so I'm going to assume it's IIS In which case you can filter your logs using something like this http://learn.iis.net/page.aspx/692/advanced-logging-for-iis---log-filtering/ You can do the same on most servers You can't actually stop browsers requesting the image. However if you ...


3

If your environnement is identical, i mean with the same physical path, ip etc.. you can just applicationHost.config. The file is by default located in the C:\Windows\System32\inetsrv\config it's an xml file, si if you rigth a little tool you could change your binding before restore the file in your dev environnement


3

I found this can be done with URL ReWrite Credit to: http://www.youtube.com/watch?feature=player_embedded&v=ut0pD2l4z5c#! from web.config Be sure to add the ServerVariable you choose (HTTP_X_AdminIPAllowed in my example) to allowed server variables from the URL ReWrite module in the IIS Console. This example allows access to 192.168.1.* clients to ...


3

You can create two websites using IIS7 (I don't know the details as I only have IIS6) and point one at the directory with the files for /fr and one at the directory with the files for /en.


3

<configuration> <system.webServer> <httpRedirect enabled="true" exactDestination="true" httpResponseStatus="Found"> <add wildcard="*.php" destination="/default.htm" /> </httpRedirect> </system.webServer> </configuration>


3

From memory (I had to research this a few years ago) it has to do with what ISAPI extension is handling the redirect - what you want is something which is running in the same process space as IIS otherwise the redirection can actually slow or choke the webserver depending on the volume. I believe that the method you describe above is performing the rewrite ...


3

First of all -- this really depends on your server configuration -- if such modifications are allowed to be performed on directory level (section is not locked on parent/server level). In order to disable execution of specific file extension yo need to know the handler name that is responsible for this. On each system this name can be different, especially ...


3

I've been able to reset a lot of my site's values using appcmd, but I had to dig into specific configurations I wanted to change, which I'll describe a bit below. I know for sure that this works with IIS 7, but I'm not 100% certain whether it passed on to 7.5 so YMMV. appcmd isn't in my cmd path on any of my installations (though these machines are 2k8sp2) ...


3

Windows Authentication will really only work if the IIS server is joined to the domain. That's the first thing you'll want to do (assuming you can). Once you do - WindowsAuthentication will make authentication a breeze. If joining the domain is out of the question, then you'll at best be able to use a mechanism based on forms authentication that could ...


3

At its root, this is almost certainly a database problem. The first thing to check is the indexes on the tables. If the full-text search is fast and the SELECT is slow, then there are most likely JOINS being performed that could benefit from indexes, possibly even composite indexes. You will need to profile the application (run a trace using SQL Profiler) ...


3

The problem you're having is solved with CORS: The Cross-Origin Resource Sharing standard works by adding new HTTP headers that allow servers to describe the set of origins that are permitted to read that information using a web browser. Additionally, for HTTP request methods that can cause side-effects on user data (in particular, for HTTP ...


3

No. I run several sites like this. The binding determines which app takes the requests, and each app can only have one app pool. An app pool can use multiple processes (a web garden) but that is completely unrelated to wildcard domain names (even a single domain gets split across multiple processes in this scenario). An app domain (a security construct ...


2

Have you tried setting the following? <system.webServer> <httpErrors existingResponse="PassThrough" /> </system.webServer> Here are a couple of references on error pages: http://www.iis.net/ConfigReference/system.webServer/httpErrors http://blogs.iis.net/ksingla/archive/2008/02/18/what-to-expect-from-iis7-custom-error-module.aspx


2

If you are after a Windows IIS based Intranet, I suggest either one of the following content management systems: DotNetNuke (Community version is available) Microsoft Sharepoint Both of these can link into your Windows Active Directory, and provide pretty good control over every aspect of the site (including granular security, so you allow that cafeteria ...


2

It sounds like what you need is a Content Management System (CMS). DotNetNuke is the most popular CMS that runs natively on IIS. If you're willing to install PHP on your IIS box then you could also look at PHP CMS's like Joomla and Drupal.


2

Drupal is a great option. Many coming from a Windows background will probably suggest SharePoint, and that may be a good option, but I've detailed reasons why I, in particular, recommend against it here: http://archstldev.com/node/545 I'm building out an Intranet on Drupal right now, and there are some good background materials on using Drupal for an ...



Only top voted, non community-wiki answers of a minimum length are eligible