Archive for the Apache Category
How to restart Apache server from shell
Hey Folks, You need to restart your Apache server when you change settings in php.in, httpd.conf or some other config file. You need to restart the server because the changes which you made will only effect after the restart. To restart your server, simply type the following comman
Read Full PostChange default php.ini values using .htaccess
Hey Folks, As you might be knowing that php.ini is the configuration file for the PHP and resides at the server. It contains all the options/settings for the PHP language. There are instances you need to change these options. In local environment you can change these settings very easily b
Read Full PostPrefix www to your domain using htaccess
First of all you need to know why you even want to prefix www in front of your domain. Well to explain in short, search engines treat http://www.digimantra.com/tools/twitter/ and http://digimantra.com/tools/twitter/ differently. Notice the difference is just of www. But if you have these two URLs
Read Full PostAdvanced htaccess for more than 10 group of backtrack references
You might have faced error where .htaccess wont recognize the backtrack variable after $9 such that if you specify "$10" then it will return you "0" as value to that key in URL param. The mod_rewrite module is confused which varible to return $1 or $o. Lets see the problem first, Problem : R
Read Full PostUsing .htaccess for day to day work | Part 2
This .htaccess is continuation to my previous blog post(Using .htaccess for day to day work), which recorded a lot more hits than expected. I would enlist some other tricks/function we can achieve using this magic .htaccess file. For those who are reading this tutorial for the first time or are new
Read Full PostUsing .htaccess for day to day work
.htaccess is a word which every developer has heard. But they skip it because some think its too hard to understand. But I am sure nothing is hard for a good programmer. Well .htaccess is a file which is used to define behaviour of your directories and server request to those directories or files. T
Read Full Post