When we install PHP with Apache, Apache will be able parse files with .php extension and execute the same. But in Apache we can tweak configuration in that way so Apache start to parse other file extension as php file.
In this article I am going to share steps to create a new virtualhost for Apache in UBUNTU. Before starting with the steps I assume that you already have installed the apache and it working properly. If you have not installed it then you just need to perform below command in the terminal. sudo apt-get [...]
DirectoryIndex is one of the available setting/directive available in apache. This is use to set the defalut page of the server. Here default page means when you just type your domain or point the URL to any directory then it will serve the default file set in the Apache configuration. Most of the servers have [...]
Its a best practice to serve the compressed content over the internet to dramatically save the bandwidth of the user. In this article I will cover how to compress the static content over the internet using Apache and .htaccess file. Let me cover bit of introduction first for this. We can compress content using two [...]