Category: Directadmin

Force https using an .htaccess file

If you want to force a given website or path to use https, redirected from http, you can create an .htaccess file in the DocumentRoot for that domain or hostname, and add the following code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] which will redirect any non-https connections to https ...

Setting up quotas on an XFS partition

The xfs file system is different than the previous ext3/ext4 file systems. This guide will be closely related to the standard quota setup guide, except that xfs may have a few extra steps that require more manual intervention. If you need quotas setup on the /home partition, then the guide should be very similar to the standard quota setup guide.  ...

install DA on Google Cloud Platform Compute Engine

first connected as root with the command: sudo -s Next, stop the Firewall systemctl mask firewalld systemctl stop firewalld Then I followed on CentOS 7, xfs is used by default and Quotas are not activated, so you need to enable them manually nano /etc/default/grub add quota options rootflags=usrquota,grpquota into the end of GRUB_CMDLINE_LINUX line...