Sunday, April 4, 2010

when i add RewriteRule in the htaccess its not working

First we need to check whether the mod_rewrite module is installed in the server or not.

If it is installed need to add a line

RewriteEngine On


How the rewrite rule processed by the server

rewrite rule diagram

what is mod_rewrite in apache

Answer

Mod_rewrite is an apache module. It is used to manipulate the urls.

How to start and stop apache server in linux

Answer

In the terminal window you need to type the following command to start the apache server

$>service httpd start

or

$>/etc/init.d/httpd start

To stop the server

$>service httpd stop

or

$>/etc/init.d/httpd stop

what is the latest version of apache

Answer

The latest version is apache 2.2

What is webserver

Answer

Basically webserver is a software that allows you to provide content(web pages) through the http protocol.