Questions tagged [iis7]

IIS – formerly called Internet Information Server – is a web server application and set of feature extension modules created by Microsoft for use with Microsoft Windows.

2
votes
5answers
11k views

prevent IIS from executing scripts in a specific directory

I have a php web application that allows file uploads to a specific directory. I would like to prevent the execution of any file that is uploaded into that directory whether it is ASP, PHP, or ...
1
vote
0answers
20 views

IIS7 Rewrite to block bad inbound linking not working

I want to block users to our site that are coming from links on seriously inappropriate website (e.g. warez, link bait sites, etc). I have tried this but doesn't work - I go to the blocked site, ...
3
votes
1answer
30 views

IIS7 rewrite rule triggers 404 rather than redirecting to new pagw

We recently replaced most of our default pages from default.htm to default.asp. Rewrite rules work fine if it's a sub-folder, e.g. example.com/help/default.asp where the default.htm was deleted. If ...
1
vote
0answers
53 views

Are there settings that must go into the IIS ApplicationHost.config file only?

Are there setting that must go into ApplicationHost.config opposed to into web.config file under the IIS web server? I.e. Are there any settings not allowed in web.config, or can I move all my ...
5
votes
1answer
4k views

IIS 7.5 site is stopped, but it still responds to requests with 404 errors

What you'd expect when you select a site in the IIS console and choose the "stop" button is that all bound ports would stop responding, right? That's what it did in earlier versions of IIS, at least. ...
5
votes
2answers
7k views

How can I stop 404s from favicon.ico without a favicon.ico?

How can I stop requests for favicon.ico without having a favicon.ico? It wastes resources serving a 404 and fills up logs with 404s. Right now I put in a dummy favicon.ico file but I would prefer a ...
1
vote
0answers
33 views

My WordPress site is slow when I'm not using a VPN

I host a WordPress site which isn't behaving as I'd expect. Its taking an age to load, sometimes timing out before its finished. However, if I have my VPN (PIA) enabled, it loads immediately and is ...
0
votes
1answer
899 views

IIS 7.5 maxQueryStringLength configuration question

We have a Windows 2008 R2 server running IIS 7.5. Applications running inside are occasionally making GET requests to themselves with a rather long parameter list (up to 3000 chars) and this, when ...
2
votes
1answer
17k views

Active Directory auto login to website for domain users

I am putting together an Intranet for a company - I have set up authentication to get into the Intranet from a login box linked to AD via LDAP/ However the client wants (if possible) to have users ...
-1
votes
1answer
276 views

In IIS 7.5, how do you redirect an HTTPS domain to the canonical domain?

So I have a site configured with example.com:80 and www.example.com:80, as well as a certificate for port 443. When a user goes to the www.example.com:80 or 443, which has the SSL certificate ...
0
votes
1answer
77 views

Does Classic ASP pages called with Querystring parameters are cached by the HTTP-level Kernel cache?

Our company have a website made in Classic ASP, which most of them are static pages. We have enabled Kernal cache for 30 seconds in our web.config file in order to speed-up the displaying of all our ...
2
votes
2answers
2k views

Allow directory listing for subdirectories only

I am using webspace hosted on IIS 7.5 (according to phpinfo() ). Currently, I am enabling directory listings for a directory and all its subdirectories by placing a web.config like <location path="...
2
votes
1answer
188 views

URL rewrite problem on IIS7.5

My aim is to create Friendly URLs for a website hosted on IIS 7.5. The site has 3 pages with the following URLs: http://www.example.com/contact.php?langid=1&title=contact http://www.example.com/...
1
vote
1answer
1k views

How to create subdomain link to SQL Server 2008

I would like to know how to create a subdomain that is a link to an SQL Server database. I have Windows Server 2008 R2 and SQL Server 2008. I have a static IP on the Windows server, and I have a ...
1
vote
1answer
143 views

http://www.mysite.com/c/v to display different domain:http://www.myothersite.com/c/v

My site is written in asp.net using C#/MVC 4.5, and is hosted on Windows Server 2008, IIS7. # It has the following route https://mysite.com/c/v. When the user types in https://www.myothersite/c/v, I ...
1
vote
1answer
796 views

Implement country and language redirects (US, CA, En and Fr) in IIS

We have a website that has two URLs (one for the US side and another for the Canadian side which is then broken into Canadian English and Canadian French). For the purposes of my question, I will ...
2
votes
2answers
1k views

Will http to https rewrite rule affect SEO ranking?

I recently started serving all my pages over https instead of http. I did so using this rewrite rule: <rule name="force https" stopProcessing="true"> <match url="(.*)" /> <...
6
votes
3answers
1k views

Does amount of URL parameters affect SEO?

I've recently just finished building a small website and created friendly URLs using IIS7.5' rewrite module. The site has now been passed to the client's SEO guy and he says the friendly URL format I'...
3
votes
2answers
9k views

How to redirect pages during the maintenance to home page on IIS 7?

I have IIS 7 website. I need to redirect users during maintenance time to home page from other sub pages within site. for example if user request http://www.example.com/products/234 I need system ...
0
votes
1answer
5k views

Redirect IP Address to Domain Name on IIS

I am attempting to redirect the IP address of my domain to the domain name and am running into trouble. The IP address does not redirect to the domain name listed in the redirect statement below. ...
1
vote
3answers
1k views

How do I configure IIS 7.5 to allow using a network share as an image src?

I have a web application that will be used internally that points to images on a network drive. It works when I test it in VS, but the images don't load once published. I'm sure it's a setting in ...
2
votes
1answer
333 views

Track Google Analytics from a redirected domain using IIS

I have a olddomain.com that redirects to newdomain.com and we want to know the best way to track how many people are coming from olddomain.com on Google Analytics? Currently I have two rewrite ...
1
vote
1answer
55 views

What kind of attack causes a JavaScript 'out of memory' on the attackers device?

We experienced a strange attack yesterday. Our error log picked up the same 'out of memory' JavaScript error from a single IP address every 10 seconds. The requests came from 6 client ports on the ...
1
vote
1answer
1k views

Why does my IIS virtual directory serve folders but not files?

I have a network share (say, \\mysite\myshare) being served by an IIS 7.5 virtual directory at (say) http://www.example.com/myshare. From a web browser, I can click & navigate every folder and ...
2
votes
3answers
5k views

How to handle CNAME host redirect to virtual directory?

I have an internal website and virtual directory http://server2012/logs. I created a CNAME on my DNS server as LOGS -> server2012. I would like to set it up so that http://LOGS redirects to http://...
0
votes
1answer
579 views

How to track hot-linking of image types in IIS7

I don't want to block hot-linking on my site; it's not that big a deal. However, Google Analytics doesn't show me referrers to png/gif/jpg content; I don't have any statistics on the load generated ...
1
vote
0answers
613 views

Newbie looking for some help, iis vs wamp [closed]

I have been banging my head against a wall for several days now, searches rarely uncover the issue I'm having or a solution to the problem. Which I'm sure is a combination of my ignorance and not ...
4
votes
5answers
390 views

Self hosted Web Analytics like urchin

I would like some cheap/free web analytic software to be used on my windows server (Server 2008). urchin seems to be way expensive. please provide me some good recommendations.
2
votes
1answer
19k views

What are reasons some people can't access a website while most others can?

I have a .NET MVC 3 Website hosted on a Server 2008 r2 VPS. The site only uses SSL 3.0 connections, so if you connect using HTTP it will bump you up to HTTPS. The site is for a small company, just for ...
2
votes
2answers
2k views

What is the IIS equivalent of a rewrite rule that sends all requests to a PHP file?

I've always used Apache for all my web development work and I'm struggling to get my head around IIS. I've got an API that re-routes all requests to one particular file: 'api.php', how would I do the ...
2
votes
0answers
943 views

IIS URL Rewrite Wildcards

I have some URLs as follows http://localhost/wordpress/latest/joe/12 http://localhost/wordpress/latest/bloggs/14 http://localhost/wordpress/latest/thing/15 I would like to redirect them to http://...
0
votes
3answers
508 views

IIS 7.0 HTTP Redirect not rolling back

This is a very strange situation. We have a number of sites hosted on a IIS 7 webserver. We put in a redirect for one subdomain to go to another site. Because we only have one web.config file, it ...
5
votes
4answers
18k views

How to move IIS7 site from one server to another

What is the process to copy an entire .NET website from one server to another server? Both sites are running Windows Server 2008, IIS7, and SQL 2008? The base site is the live site The new site is ...
26
votes
3answers
36k views

IIS 7 Require SSL automatically redirect to https://

I've configured IIS 7 to require SSL. I'm wondering if I can automatically redirect non-ssl requests to be encrypted. For example, if a user types in http://domain.com, can IIS redirect the request ...
1
vote
0answers
41 views

UCC cert for single IIS7.5 site with multiple domains forwarded via rewrites

We have a site that has 80-some-odd aliases. In other words, each host name's DNS entry points to the same IP address and port number, and when they reach our IIS7.5 server they are forwarded to the ...
1
vote
0answers
3k views

MVC4 App opens with directory listing and gives a 404 for any direct URL's entered in the browser

I've just deployed a previously (on my local IIS) working MVC4 app to IIS 7.5 on the dev server. After tweaking this and that - one knows how these things get forgotten - the app finally launches, but ...
1
vote
1answer
730 views

IIS 7.0 free hosting [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? i'm looking for a a website that offers free hosting on IIS 7.0 or IIS 7.5 other than Somee. Does anyone know such a site? ...
2
votes
1answer
952 views

Migrate a ASP.NET web service from http to https. How to create a SSL certificate that works in test environment on IIS 7.5?

I have a question regarding a web service, http and https. First of all, there is a quite similar question with an accepted answer on StackOverflow. Like the questioner on SO, I have a simple working ...
1
vote
3answers
196 views

IIS7 webpage redirect question

Noob question here. I searched, but couldn't quite find anything that would explain how to do this. I'm using IIS7 on a 2 server web farm with traffic being load balanced to either of the two servers. ...
3
votes
3answers
1k views

Common Header & Footer for HTML Site

I'm about to re-work an old HTML-based site and would like to separate out the header and footer of the content into separate files as they'll be common to all pages. The current site author just ...
2
votes
2answers
7k views

How to redirect example.com to www.example.com with DNS and IIS?

How can I redirect example.com to www.example.com using DNS / IIS? I wish to do this for an asp.net web site to prevent duplicate contents (Bad for SEO). I had 2 a record in dns (Windows Server 2008)...
2
votes
2answers
6k views

IIS - HTTP Redirect all requests for one virtual directory to another

How do I set up an HTTP Redirect rule to redirect all requests for a virtual directory to another virtual directory, when I don't know the hostname or complete URL, and cannot use the URL Rewrite ...
1
vote
1answer
35 views

Can I configure external content to be served publicly in a folder on a subdirectory that is normally internal?

So I get an email from my boss saying that our VP would really like to use our subdomain.companyname.com/portal for a vendor. Keep in mind that I host "subdomain" now internally and that vendor is ...
0
votes
2answers
3k views

How do I increase the upload size in IIS?

I can't upload more than 2 MB. I read that IIS' max. upload size is 4 (actually 4,2) GB and ASP.NET's is 2 GB. I really can't think of an alternative. I could change the max. upload size in PHP but ...
2
votes
1answer
2k views

IIS Physical Path Incorrect

I have created a WebSite in IIS, with the following correct physical path: d:\inetpub\wwwroot\nameofsite. When i try and browse for this site, I get a 404 resource missing error. From the webserver, ...
0
votes
1answer
475 views

Point subdirectory to seperate website in IIS7 (hosted on same server)

I have 2 websites on the same server in IIS7. These websites are required to be separate (Application Pools will not suffice). I have a single domain and am not able to create subdomains. Because ...
1
vote
0answers
42 views

Why is App Pool Identity not created until first request is received?

I work for a software company and regularly deploy our web applications on our customers IIS boxes via an install wizard which was developed in-house. The install process by default creates a new App ...
1
vote
1answer
2k views

Moving just the DokuWiki data directory on other server

I have installed DokuWiki on IIS7. As per my teams requirement we have to move just the Data directory to other server location, e.g.: IIS7 installed DokuWiki location: C:\inetpub\wwwroot\dokuwiki\...
2
votes
1answer
2k views

Does IIS 7.5 use a separate “AppDomain” for each subdomain?

Within an IIS worker process, separate sites (i.e. domains) run in their own app domain. I have a site example.com which has a wildcard DNS record (i.e. *.example.com pointed to an IP.) Will ...
1
vote
1answer
934 views

Disable default error pages/error messages in IIS

I have this web application (ASP.Net MVC 3) that on certain conditions returns a custom JSON string with a HTTP status code for an error (403, 415, 500). It is deployed on a Win 2008 R2 server with ...