Change Websites Default Folder to Another Folder in Apache

Apache is the most used server. It is used to serve more than half of all active websites. It will be very helpful to understand Apache. Understanding the configuration of virtual host of Apache is important as sometime it will be a tough job to do. I will show you how to set default folder of a website other than root directory of Apache.

Continue reading

Password Protect dicrectory or file by htaccess

Password protecting a directory can be done several ways. Many people use PHP or ASP to verify users, but if you want to protect a directory of files or images (for example), that often isn’t practical. Fortunately, Apache has a built-in method for protecting directories from prying eyes, using the .htaccess file. Continue reading