.htaccess tips and tricks Rumi, July 9, 2011 Redirecits redirectpermanent /training/test.html http://www.example.com/learning/newtest.html Allow SSI FIles AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml .shtm .htm .html Parsing PHP in HTML RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Allow or prevent directory browing IndexIgnore */* Options +Indexes Password Protection <Files secret_file.html> AuthType Basic AuthName "Team Page" AuthUserFile path_to_password_file Require user username </Files> Related Administrations Configurations (Linux)
TeamViewer for Headless Linux Unattended System Access March 20, 2016 Googled for hours, couldn’t found a solid documentation on this. After many different stitching material- prepared a little moderate installation (at least it worked for me). My Linux OS is Debian 8.x- believe should work in other debian version and Ubuntu as well. But, before continuing this, make sure- You have… Read More
Setup a Site to Site IPsec VPN With Strongswan and PreShared Key Authentication March 25, 2019March 25, 2019 Today we will setup a Site to Site ipsec VPN with Strongswan, which will be configured with PreShared Key Authentication. After our tunnels are established, we will be able to reach the private ips over the vpn tunnels. Get the Dependencies: Update your repository indexes and install strongswan: $ apt… Read More
Creating an Ubuntu Router May 16, 2013 Step 1 The setup Here is your Ubuntu serve box with two interfaces, eth0————-Internet eth2————-Internal Note: Your Internet is running using eth0. Step1: Install DHCP Server #apt-get install dhcp3-server Related Read More