Archive

Archive for December, 2011

How to enable Apache mod_rewrite in openSUSE

December 26, 2011 Leave a comment

I got a situation where my Apache mod_rewrite module was not enabled for my openSUSE machine.
Here is the simple way to do it.

First check which apache modules are enabled in your machine.

ankur@ankur:/srv/www/htdocs> grep "^APACHE_MODULES" /etc/sysconfig/apache2
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5"

Second Change the apache2 config for modules and restart your apache.

ankur@ankur:/srv/www/htdocs> sudo vi /etc/sysconfig/apache2
ankur@ankur:/srv/www/htdocs> sudo /etc/init.d/apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) done

Finally, chech you module is installed.

ankur@ankur:/srv/www/htdocs> grep "^APACHE_MODULES" /etc/sysconfig/apache2
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 rewrite"

huh!! Its working.

Happy Apache.

Hindu Rituals and Routines on daily basis.

December 23, 2011 Leave a comment

Hindu Rituals and Routines.

Hindu Rituals and Routines.pdf

Categories: General

What is Vision

December 20, 2011 Leave a comment

Vision

The only way to discover the limits of the possible is to go beyond them into the limits of the impossible.

From my desk calender.

Categories: General
Follow

Get every new post delivered to your Inbox.