84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Previous steps:
Current needs:
人生最曼妙的风景,竟是内心的淡定与从容!
Use pan-parsing processing. First, parse *.example.com to example.com, so that all subdomain names will point to example.com. Next, judge the request, take out the * part, and make the corresponding jump (for example, use $_SERVER['SERVER_NAME']).
nginx should be able to do it, and it’s a good idea 0.0
server{ listen 80; server_name sec-domain.domain.com; location / { proxy_pass domain.com/sec-domain; } }
1. Domain name pan-resolution 2.apache uses mod_rewrite
Use pan-parsing processing. First, parse *.example.com to example.com, so that all subdomain names will point to example.com. Next, judge the request, take out the * part, and make the corresponding jump (for example, use $_SERVER['SERVER_NAME']).
nginx should be able to do it, and it’s a good idea 0.0
1. Domain name pan-resolution
2.apache uses mod_rewrite