# Whois **Repository Path**: alone88/Whois ## Basic Information - **Project Name**: Whois - **Description**: 基于Thinkphp+Mysql 的Whois 查询系统 - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2019-10-14 - **Last Updated**: 2024-07-04 ## Categories & Tags **Categories**: networklib **Tags**: None ## README # Whois 查询系统 基于Thinkphp+Mysql 的域名Whois 信息查询系统 理论上支持所有后缀,支持中文IDN后缀 # 使用 - 把`public` 设置为应用目录 - 上传数据库,config/database.php 配置数据库 - 后台配置网站信息 `域名/admin` - 后台可以设置Whois查询服务器,默认有了1000条左右 - 可以缓存查询的Whois信息 - 默认账号`admin` 密码`admin` ## 伪静态 `apache` ```apacheconfig Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] ``` `nginx` ```nginx if (!-d $request_filename){ set $rule_0 1$rule_0; } if (!-f $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /index.php/$1 last; } ```