Web : How to password protect a Web directory with htaccess

If for any particular reason you need to password protect a Web directory, on an Apache Web server using htaccess, here are steps below : 1. If not already existing, create a file name “.htaccess” at the root of the folder you want to protect : touch .htaccess 2. Make sure it is readable by… Read More »

Category: Web

JunOS : Port forwarding on Juniper SRX

A friend of mine who was used to the legacy and EOL SSG/ScreenOS platform and he just jumped into the new world of SRX/JunOS gave me the motivation to write this article. As the syntax is quite different between the two platform, it may be harder to get at first and the following example should… Read More »

Linux : apt-get Failed to fetch FailReason: ConnectionRefused

Experiencing the following issue trying to update your Debian distro using apt-get? # apt-get update Ign:1 http://deb.debian.org/debian stretch InRelease Hit:2 http://deb.debian.org/debian stretch Release Ign:3 http://repo.r1soft.com/apt stable InRelease Hit:4 http://repo.r1soft.com/apt stable Release Hit:5 http://security.debian.org/debian-security stretch/updates InRelease Ign:8 https://download.webmin.com/download/repository sarge InRelease Hit:9 https://download.webmin.com/download/repository sarge Release Err:11 https://packages.sury.org/php stretch InRelease FailReason: ConnectionRefused Reading package lists… Done W: Failed… Read More »