Internet & Networking

Custom Error Pages for your website

This tutorial will guide you how to create custom error pages for your website using .htaccess. Firstly you can create a folder named errors. Now you will have to create the files that will be displayed as following: /errors/badrequest.html – responds for 400 apache error /errors/authreqd.html – responds for 401 apache error /errors/forbid.html – responds […]

Internet & Networking

Using DIG to check DNS

About DIG DIG is a command-line utility used for making DNS queries and displaying their results. It is a much better tool than nslookup. DIG runs on Linux and Windows equally well, and is probably available for most other operating systems too. If you have Linux, DIG is probably already there. Installation of DIG on […]

Internet & Networking

Password protecting a directory

It’s pretty simple. It can be done in 5 simple steps. 1: Create the directory area and set permissions to read the area 2: Create a file called .htaccess in the directory you want to protect In that file, type in these lines: AuthUserFile /your/directory/here/.htpasswd AuthGroupFile /dev/null AuthName “Secure Document” AuthType Basic require user username […]