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.
All Posts tagged : "Apache"
Create a VirtualHost for Apache in UBUNTU
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 [...]
Disable Cookies using .htaccess file
Here I comes with the quick tip, this is small tip but very effective. This is about disabling the Cookies on site. You might be suprised that, Why someone would like to disble the cookies on the website? I would say that is the proper question, but sometimes it would be good to disable the [...]
Set DirectoryIndex using .htaccess
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.
Poll of the Month : May 2012
Selection of Web server is very important while dealing with the large scale application. So This month’s Poll goes for the selection of the Web Server. Which Web Server you Prefer? It would be great if you provide your thought/knowledge for your selection. Also share some reasons to chhose the particual webserver. Staye Updated with [...]
Install LAMP in two easy steps
You might have seen my earlier post related to installing PHP, Apache and MySQL on UBUNTU 11.10. That process contains number of steps and some lengthy commands which we can not remember easily.
Enable GZip Compression using .htaccess
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.
Configure PHP, Apache, MySQL on Ubuntu 11.10
I have started working with Ubuntu 11.10 and my first task was to install PHP, Apache and MySQL in that. This is because without these three things computer is useless for PHP Developer.
Redirect some pages from http to https using apache mod_rewrite
In previous post ( here ) I have described that how can we redirect all pages of any website from http to https protocol. In some case you want that only some of the pages to redirect to https but not all pages. In that case the code in above post will not work hence [...]