Knowledge Base

How to Protect the htaccess File

You can prevent unauthorized access to your htaccess file by adding this rule to the file: # .htaccess protection order allow, deny deny from all satisfy all

Related: htaccess


March 2, 2023

How to Install Webmin on Linux

Webmin is a free hosting control panel with easy installation. It takes only 5 to 10 minutes, and the configuration is simple. What are the requirements? – Fresh CentOS, AlmaLinux, or Ubuntu installed on your VPS/Server. How to install Webmin? Step 1: Log in to SSH Client using your root account. Then enter these commands: yum install wget -y wget http://prdownloads.sourceforge.net/webadmin/webmin-1.990-1.noarch.rpm yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect perl-Data-Dumper unzip perl-Encode-Detect rpm -U webmin-1.990-1.noarch.rpm Note: The installation may take a few minutes and will depend on the speed of your server. After it is done, the installation will display a message with the Webmin admin URL. Step 2: Open your Webmin URL in a browser, such as https://ip-address here:10000 If the URL doesn’t work, open port 10000 in your server’s firewall. You can do so by running the following command: firewall-cmd –zone=public –add-port=10000/tcp –permanent firewall-cmd –reload The Webmin Dashboard

Related: installation, perl


February 6, 2023

How to Create a User-friendly URL Using htaccess

If your website is using a long URL such as example.com/files/folder/sitemap.html, you can change it to “example.com/sitemap” using htaccess. Modify this line according to your needs, and then add this code to your htaccess file. RewriteEngine on RewriteRule ^sitemap/$ /files/folder/sitemap.html [L]

Related: htaccess


January 8, 2023