|
@ -62,6 +62,12 @@ public class RequestContext { |
|
|
if (serverName.equalsIgnoreCase("localhost")) { |
|
|
if (serverName.equalsIgnoreCase("localhost")) { |
|
|
return "qiji"; |
|
|
return "qiji"; |
|
|
} |
|
|
} |
|
|
|
|
|
if(serverName.startsWith("luigi")) { |
|
|
|
|
|
return "qiji"; |
|
|
|
|
|
} |
|
|
|
|
|
if(serverName.equalsIgnoreCase("www.maitiancom.com")) { |
|
|
|
|
|
return "lihao"; |
|
|
|
|
|
} |
|
|
int port = request.getServerPort(); |
|
|
int port = request.getServerPort(); |
|
|
switch (port) { |
|
|
switch (port) { |
|
|
case 80: |
|
|
case 80: |
|
|