There has been a big shift towards a more secured World Wide Web these past couple of years. Websites are not using SSL security to safeguard data transmissions to and from the server. Top names such as Google and Microsoft are pushing a more secured internet forward too; Google even started prioritizing secured websites in […]
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 we will see how to make WordPress URL Rewrite work on Zeus Web Server. Mostly you will find this web server on Namesco Hosting Provider. When I have delt with this hosting company, I was not sure that they are using Zeus Web Server for Linux Hosting. When I have checked, I […]
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.
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.
After few days of study about the nginx I have something to write about nginx. Its a very basic things but can say a good start too. ;) I am writing this article for redirecting non www website to www and www website to non www using nginx permanent redirection. In nginx just like apache […]
There can be a case when you want to restrict any request methods for your website. Restrict in the sense you don’t want user to perform that action.
There are several methods available using .htaccess file to redirect user from one page to another. 301 is one of the type to redirect user from one page to another. 301 Redirection also known as Permenant Redirection. In this article we will see how to set up the 301 redirection from file. 301 redirection can […]
.htaccess file has a great command over websites. You can perform lots of things without changing the web server’s configuration file.
This post is about to explain the use of .htaccess for protecting any file on your server. Earlier I have explained the use of htaccess file to protect the .htaccess file. Here is the code which shows the trick to protect the file using .htaccess file. Protect File using .htaccess # protect file order allow,deny […]
It is a good practice to set the expire header for the static content like css, images and js files. When you set the far future expire days for the static content then browser will serve those resource from the cache till that date. So it recommeded to set the far future date for the […]