Posts Tagged Apache

1and1.com error “300 Multiple Choices”

Lately I bought hosting from 1and1.com since Dreamhost has been having lot of downtime. In short, experience with 1and1.com has been an awkward till date and I have already requested them to cancel my account under there refund policy. However,while writing .htaccess rules I faced many issues. On

Read Full Post

5 commonly used url rewriting examples using .htaccess

URL rewriting using .htaccess is pretty common today. Most of the frameworks like WordPress, CodeIgniter,cakePHP etc. provide their own URL rewriting techniques. However, there is always a necessity to beautify the URLs using .htaccess when you are using any of the framework. Without talking abou

Read Full Post

Enable Apache,PHP in Mac OS X

Mac OS X comes with Apache,PHP pre-installed but is not enabled by default. Just when you get on to your new Mac OS X you definitely want to enable these. The following steps should help you enable PHP over Apache and you can start rolling. Enable PHP module in httpd.conf We first need to enabl

Read Full Post

Add PHP GD support to apache in Ubuntu Linux

PHP GD library is used to created images on the fly. This library is not installed or activated by default when you first install Apache on Linux. But GD library is used widely while developing websites. For eg. if you want to create a captcha image for a registration form, then you are going to use

Read Full Post

List all loaded modules in Apache

In this post, I will show you how to check what all modules are loaded on your Apache server, then you can use the following command. Open the terminal and type the following command. apache2ctl –M httpd –M In my case httpd worked for Centos (.rpm supported system) and apache2ctl worked

Read Full Post

How to install solr PECL extension for PHP

Lately, I have been working a lot with Solr. From setting up it on server using Tomcat, to creating its indexes, everything. I found that installing PECL extension for was bit challenging since it was not just about apt-get. In fact, the complete setup sometimes becomes tedious job if not handled

Read Full Post

Installing Apache2 and PHP5 on Ubuntu

In this post we will learn how you can install Apache2 server and PHP5 on Ubuntu. Undoubtedly, Apache2 is the most famous webserver and along with PHP, these both become the best recipes to cook pretty neat websites. Oh ! Was that too much cooking, eh ? Sigh ! let’s not get more into and comin

Read Full Post

Prefix 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 Post

Advanced 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 Post

Using .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 Post

Using .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

Get Adobe Flash player