First, the solution is as follows:1. Start-run, enter C:\\\\windows\\\\inf\\\\sysoc.inf, will open this file;To find the "[Components]" section, add the following: "iis=iis.dll,ocentry,iis.inf,,7". Then save and close.2. Download IIS6 installation package (attachment download), Unzip to d:/ root directory, easy to use;3. Start-run-cmd and open command-line mode. Execute the following two commands:EXPand D:\
Recent whim, want to learn about WCF, look at a small example on the internet began.Write a simple service, ready to publish, only to find a lot of problems, simply can not be like those on the internet as the big God "easy."One of the typical problems encountered is to prompt for the download of the file to establish a MIME map, I do not know what this is, check the data, the basic solution is as follows.1 in the Windows function, the configuration of IIS
7-zip is a so-called today's highest compression ratio of compression software, it not only supports the unique 7z file format, but also supports a variety of other compressed file formats, including Zip, RAR, CAB, GZIP, BZIP2 and tar.
This software compresses the compression ratio to be higher than the ordinary zip file 30-50%. Therefore, it can compress the WinZip compressed file 2-10%. File extension:. 7z, but currently Windows Server cannot support. 7z format download, so we need to set it u
Add MIME ing and expressmime for IIS Express
VS2013 comes with IIS Express and cannot publish JSON files. You need to add MIME ing.
No graphic interface, onlyCommand Line.
Go to the C: \ Program Files (x86) \ IIS Express folder and enter:Appcmd set config/section: staticC
VS2013 comes with IIS Express and cannot publish JSON files, you need to add MIME mappings. No graphical interface, only command line . Into the C:\Program Files (x86) \iis Express folder, enter:appcmd setconfig/section:staticcontent/+[fileextension= '. Json ', mimetype= ' Application/json '] Enter, Prompt after success: Configuration changes have been applied to
Copy Code code as follows:
Dim StrIP
StrIP = Request ("IP")
%>
Enter Ip:If strip= "List" then
Call Listdenyip ("2443")
Response.End
End If
If strip= "Query" then
Call Checkwebsitesetup
Response.End
End If
#
If stripCall Adddenyip ("2443", StrIP)
End If
Sub Checkwebsitesetup ()
Set iisobj=getobject ("Iis://localhost/w3svc")
For each website in IIsObj
If website. class= "IIsWebServer" Then
For each B in website. ServerBindings
Re
Users group better, preferably their own in the last step to build the user, Create a new group that is dedicated to Web sites. As shown in figure:
Step Two: Add this user's access rights to the Web site program
Find the root of the site, right-click on the folder, click Properties, you can see the following map to the right, general, sharing, security and so on.Choose security inside, you can see that there are user groups and names.Incident
How to add MIME extension types in IIS and iismime Extension
In iis7, the default MIME type does not contain all suffix files. For example, in popular apk files, ipa files must be manually added.
So how to add the MIME type in IIS? The procedure is as follows:
1. Open iis7, select the website you want to set, and op
How to add multiple sites?
IIS in XP does not support multiple sites. We can add multiple sites by running a script.
The procedure is as follows:
Open a command line window
Enter "CD \ Inetpub \ adminscripts" and press ENTER
Know the maximum number of the site you have created.Enter the following commandAdsutil. vbs Enum/P w3svc
If you have never adde
How to add multiple sites?
IIS in XP does not support multiple sites. We can add multiple sites by running a script.
The procedure is as follows:
Open a command line window
Enter "CD \ Inetpub \ adminscripts" and press ENTER
Know the maximum number of the site you have created.Enter the following commandAdsutil. vbs Enum/P w3svc
If you have never adde
I haven't written a blog for a long time...Today, I want to write about how to add piwik tracking to IIS.Code.Background:• Piwik open-source PHP Site StatisticsProgramHttp://piwik.org• Httpmodule: http://www.cnblogs.com/stwyhm/archive/2006/08/09/471729.htmlImplementation idea: Use httpmodule to add the statistical code before the body of the ASPX page.Code implementation:
1. Create a DLL Project
Using sy
Today in the FTP upload a mp4 file, found that the player can not play, find a local file to replace the found to play normally, the charm network for this in the browser directly enter the MP4 URL found unable to display the Web page, and then suspect that the server is a problem, may not add the format of this video support.So go to the server and open IIS and add
In the IIS (Express) By default does not support the JSON format data, the data always can not load, later looked up only then to know is the MIME mapping question, therefore needs in the site root directory new or modifies the Web.config file resolution, adds or modifies the node, the method is as follows:Configuration> System.web> Compilationdebug="False"targetframework="4.0"/> System.web> system.webserver> staticcontent> mimemap fileextensio
When the client is Silverlight or other technologies that do not support cross-origin by default, You need to manually enable cross-origin for WCF. The detailed method is as follows:
First, cross-origin files are required.
Clientaccesspolicy. xml
1 2 3 4 5 6 7 8 9 10 11 12 13
Crossdomain. xml
1 2 3 4
The preceding two cross-origin files must be stored in the root directory deployed on IIS
Recently, due to work needs, you have to run php on XP
ProgramTo add. php extension ing in iis5 of XP SP3, perform the following operations:
(1) Open the IIS window: start -- set -- control panel -- management tool -- Internet Information Service;
(2) Set extension ing: Click + on the left of (Local Computer) to expand the local computer, right-click "website" and choose "properties"> "home directory"> "
Today's Web pages contain a large number of components, and the numbers are growing, and the initial visitors to the page make a lot of HTTP requests, but by using a long expires header, these components can be cached. This avoids unnecessary HTTP requests in subsequent page views. Long expires heads are most commonly used in images, but should be used on all components, including scripts, stylesheets, and Flash.
Open IIS.
Select the site, lo
Http://www.snapfiles.com/get/etagfix.html
Etagfix is an ISAPI filter add-on for Microsoft Internet Information Server (IIS) or any other web server that supports ISAPI filters, that removes part of the etag so that is does not change every time the server is rebooted. the etag is an HTTP header that allows web crawlers and user clients to check if a web page has changed-by default, this etag is changed whe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.