From de6c67eebbfd14f3be4bcf0ebdb6b7f873e4aa27 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:00:35 +0200 Subject: [PATCH] Further documentation cleanup --- INSTALL.md | 26 +++++++++++++++++++++++--- cp/composer.json | 2 +- whois/web/README.md | 1 - 3 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 whois/web/README.md diff --git a/INSTALL.md b/INSTALL.md index df6d084..e9e9781 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -68,7 +68,7 @@ rdap.example.com { whois.example.com { bind YOUR_IPV4_ADDRESS YOUR_IPV6_ADDRESS - root * /path/to/your/whois/app + root * /var/www/whois encode gzip php_fastcgi unix//run/php/php8.2-fpm.sock file_server @@ -77,7 +77,7 @@ whois.example.com { cp.example.com { bind NEW_IPV4_ADDRESS NEW_IPV6_ADDRESS - root * /path/to/your/php/app/public + root * /var/www/cp php_fastcgi unix//run/php/php8.2-fpm.sock encode gzip file_server @@ -174,7 +174,27 @@ composer update This command will update and install the dependencies defined in your ```composer.json``` file, ensuring that your control panel has all the necessary components to operate effectively. -## 12. RDE (Registry data escrow) configuration: +## 12. WHOIS Setup + +### Port 43 Setup + +TODO + +### Web WHOIS Setup + +Use a file management tool or command line to copy the entire ```registry/whois/web/``` directory and place it into the web server's root directory, typically ```/var/www/```. The target path should be ```/var/www/whois/```. + +Change your working directory to ```/var/www/whois/``` using a command line interface. This can be done with the command ```cd /var/www/whois/```. + +Once in the correct directory, run the following command to install necessary dependencies: + +```bash +composer require gregwar/captcha +``` + +This command will install the **gregwar/captcha** package, which is required for the WHOIS web interface functionality. + +## 13. RDE (Registry data escrow) configuration: ### Generate the Key Pair: diff --git a/cp/composer.json b/cp/composer.json index cd1c6ad..68d15c3 100644 --- a/cp/composer.json +++ b/cp/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "ext-pdo": "*", "slim/slim": "4.12.0", "slim/twig-view": "^3.3.0", diff --git a/whois/web/README.md b/whois/web/README.md deleted file mode 100644 index eb1750f..0000000 --- a/whois/web/README.md +++ /dev/null @@ -1 +0,0 @@ -composer require gregwar/captcha \ No newline at end of file