来源隔壁大佬的,他的域名ii.do

安装:
解压到站点根目录配置好伪静态即可,需 php 环境,无需 mysql

伪静态(压缩包里有):
Nginx

location / 
{
 if (-f $request_filename) {
        break;
}
        rewrite ^/(.*)$ /index.php?domain=$1 last;
}

Apache

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?domain=$1 [L]
</IfModule>

下载:
[bshide]whois.rar[/bshide]
使用:
可以直接输入域名或 IP 搜索,也可以像输入如下直接访问即可
http://whois.qsir.cn/a.com
http://whois.qsir.cn/1.1.1.1

呃,至于为啥和我的不一样?我的也是基于这个改的花里胡哨,自己动动手吧!话说现在玩米的基本人手一份 whois 了

版权属于:丘先森
本文链接:https://qsir.cn/skill/138.html
本站未注明转载的文章均为原创,并采用 CC BY-NC-SA 4.0 授权协议,转载请注明来源,谢谢!