July 5, 2019, admin, 0
I have added the following to my .htaccess file (password protected) to limit the access to wordpress login pages. ErrorDocument 401 “Unauthorized Access” ErrorDocument 403 “Forbidden” <FilesMatch “wp-login.php”> AuthName “Authorized Only” AuthType Basic AuthUserFile /home/user/.htpasswd require valid-user </FilesMatch> But after the change, the page won’t load, it gave out a infinite loop More
Like this:
Like Loading...
July 2, 2019, admin, 0
If you want to add subject in the postfix log files, add the following in main.cf file at the bottom. vi /etc/postfix/main.cf header_checks = regexp:/etc/postfix/header_checkssmtp_header_checks = regexp:/etc/postfix/header_checks And add the lines below in /etc/postfix/header_checks files, create the file if it’s not already there. /^subject:/ WARN/^X-PHP-Originating-Script:/ WARN Now restart postfix More
Like this:
Like Loading...
June 24, 2019, admin, 0
Ssh to the cPanel server and go to the directory /etc/cpanel/ea4/profiles/custom. cd /etc/cpanel/ea4/profiles/custom/ Locate and remove the .json file that contains the name of the profile you created. rm -f myprofile.json Now you are done deleting the profile.
Like this:
Like Loading...
June 21, 2019, admin, 0
Enter the following command in terminal. HISTTIMEFORMAT=”%d/%m/%y %T ” Or, to make the change permanent for the current user: echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ >> ~/.bashrcsource ~/.bashrc Now try the history command, you will see the timestamp along with the command history.
Like this:
Like Loading...
March 8, 2018, admin, 0
After updating Ubuntu, my wifi device was not working. Follow these steps to install/enable wifi module in Ubuntu. If git is not installed, install it by apt. $ sudo apt-get install git To make the wifi device work, rtl8192eu module needs to be enabled in kernel. $ sudo apt update $ sudo More
Like this:
Like Loading...