-
What are you referring to, I don't understand.
Do you want to achieve two domain names in one space to access different **?
If yes, give you the paragraph asp**.
url="http_host")
if url="
end if
if url="
end if
If you want, add an if block.
I don't know if this is the effect you want, I hope it can help you.
-
Upstairs is right, pickworms are considered unfriendly to non-200 http status codes, so in order to return 200, it is recommended to rewrite.
-
I've seen the 301 redirects of dynamic asp, but the static ones are not very clear, you can look at the references.
-
iis6
1. First publish ** normally in IIS, for example, the domain name is (
2. Create an empty folder on the hard disk.
3. Then create a ** in IIS, for example, the domain name is (, point to this empty folder, and then set the attribute for this new **, in the "home directory", select "Redirect to".
url", enter your domain name ( in the text box below and check "Exact URL entered above" and"Permanent redirection of resources"。
iis7 or.
1. First publish ** normally in IIS, for example, the domain name is (
2. Create an empty folder on the hard disk.
3. Create a ** in IIS, for example, the domain name is (, point to this empty folder, and then open "http" in the "function view" of this new **
Redirect", check Redirect requests to this destination, enter your domain name in the text box below (then check Redirect all requests to the exact destination (not relative to the destination), and select Permanent (301) for status.
Each version is pretty much the same.,It's just that the interface is different,,, create a new site,,, path where you can select http redirects.。。。
-
Forehead! Now you don't need ASP in general! The mainstream is PHP
-
<%currentdomain= "server_name")if currentdomain="" then"301 moved permanently"
end if
asp looks like this**, put in the head**, before the head.
do while not
Output line. for i=1 to 3 >>>More
Or is it a matter of logic when you write a program.
First, if then >>>More
Challenge the world's thinnest Mac B Air... It is the thinnest drive in the world. >>>More
You see if you started the asp parsing file.