Recognition

No awards yet.

Posts

6 Posts
  • Published Question

    How would you translate this line to .htaccess?

    Hi, Im moving from nginx to apache and I would like to translate this config line to .htaccess location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Re...
    Accepted Answer: Hello, @belakey You can try by adding the following snippet of code: ``` Protect files and directories from prying eyes. <FilesMatch "(\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)|co...
    1 By belakey Apache Nginx Configuration Management
  • Published Answer

    How do I revert the group ownership of www-data to default?

    @MatthewDelfino Ok, i see where i went wrong. Now I did: sudo usermod -g root root would make root back into…
    By belakey
  • Published Question

    How do I revert the group ownership of www-data to default?

    I entered sudo usermod -g www-data ftpuser How do I return it to the default values? Is it owned by root? If so it would be: sudo usermod -g www-data root? How do i check the ownership of www-data?
    Accepted Answer: Groups don't have owners. Your first command, sudo usermod -g www-data ftpuser made ftpuser's default group into www-data. If you ran sudo usermod -g www-data root, you would, in kind, make the root user's group be ww...
    2 By belakey Linux Commands Linux Basics Ubuntu 18.04 Nginx LEMP
  • Published Question

    Why can't my newly created "ftpuser" connect via Filezilla to server?

    I wanted a secure way to manage the /var/www/ folder. My regular user can't upload to the /var/www/ folder without using root user account via Filezilla. I normally log in using an ssh key which works fine. I then fol...
    1 By belakey Ubuntu 18.04 LEMP Nginx Configuration Management
  • Published Answer

    How to connect to MariaDB using SSH Tunneling and Port Forwarding?

    Finally go it working. In HeidiSQL session manager: Under Settings Tab Network Type: MariaDB or MYSQL (SSH TUNNEL) **…
    By belakey
  • Published Question

    How to connect to MariaDB using SSH Tunneling and Port Forwarding?

    I have Ubuntu 18.04 which is connected through putty using a private key and running fresh install of MariaDB 10.1 and done the mysql secure installation. I have HeidiSQL installed on my windows PC which I want to co...
    2 By belakey Databases MariaDB MySQL Ubuntu 18.04 Security