Original: IIS8 How to install and use the URL rewriting tool-url RewriteDownload and install the URL RewriteIIS8 The URL rewriting tool is not installed by default, you must download the installation yourself.If you have installed
Download and install the URL RewriteIIS8 The URL rewriting tool is not installed by default, you must download the installation yourself.If you have installed the Web Platform Installer by default on IIS, we can use the platform to automatically install the URL rewrite rewri
This module applies to IIS7, 7.5, 8.
Microsoft has added a URL rewrite module to IIS7 and is free to import. htaccess rules, it's a good choice.
URL Rewrite Module
The URL Rewrite module is a rule-based URL rewrite engine that changes the URL
These days are busy with their own personal site, encountered a demand, is to send the normal HTTP request all forwarded to HTTPS. Baidu learned that using the default IIS features does not do this, you must install an additional tool: URL rewriting tool. However, it is not installed by default. Here, let's install it first.
Neither the Java_home nor the JRE_HOME environment variable is defined solution-Linux operating system: Ubuntu_centos_debian-Red and Black Alliance"Pro-Test" ubuntu14.10 set up hotspot WiFi share to mobile phone _ vocational education _ Baidu ExperienceUbuntu14.04 installation and configuration tomcat8.0.12_ Baidu ExperienceUbuntu14.10 Adjust Brightness Failure Solution _ Baidu ExperienceUbuntu 14.04 LTS installation Java 8 and Eclipse 4.4_linux tutorial _linux commune-linux System PortalUbuntu
Note You first install the URL redirection module https://www.microsoft.com/zh-CN/download/details.aspx?id=7435 and then add the following code at the end of Web. Config Note First to install the URL redirection module
Install Android SDK on Ubuntu 11.10x64
Operating System: Ubuntu 11.10x64
Ubuntu 11.10 x64 has built-in openjdk-6-jre
Objective: To install the android SDK JavaInstall the 32-bit Library File
Because some programs in the android SDK are 32-bit, a 32-bit library file must be installed in the Ubuntu x64 system to be compatible with 32-bit programs. If the installation is not performed, ADB will encounter an er
This section: Details thinkphp URL rules, url pseudo-static, url routing, url rewriting, url generation one, URL rules 1, default is case-sensitive , 2, if we do not want to be case-sensitive can be changed to config fil
PHP short URL Super simple code
System environment:
Php,apache2,linux
To generate the PHP short URL operation:
Copy the code to index.php in a two-level directory with only 1 characters (such as U) as the folder name.
To add write permissions for this directory, the diagram chmod 777 U (root directory also line, in order to avoid affecting other files may have to change the code)
JavaScript implementations:
Top.location.href the address of the top-level windowThis.location.href the address of the current window
PHP Implementation:
Get domain name or host addressecho $_server[' Http_host ']. "”; #localhost
Get web Addressecho $_server[' php_self ']. "”; #/blog/testurl.php
Get URL parametersecho $_server["Query_string"]. "”; #id =5
Get user Agentecho $_server[' Http_referer ']. "”;
Get the full URLEcho ' http://'.
SerV
First, PHP gets the URL of the current page:
Copy the Code code as follows:
Get the current script URLfunction Getcururl (){if (!empty ($_server["Request_uri")){$scriptName = $_server["Request_uri"];$nowurl = $scriptName;}Else{$scriptName = $_server["Php_self"];if (Empty ($_server["query_string"])){$nowurl = $scriptName;}Else{$nowurl = $scriptName. "?". $_server["Query_string"];}}return $nowurl;}
The other is the value of a variable in the query sect
C # URL short address compression algorithm and short URL Principle example, detailed introduction of the short URL mapping algorithm, the long URL MD5 generated 32-bit signature string, divided into 4 segments, 8 bytes per segment, and then generate a short URL, see text ex
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.