Problem in password protection using .htaccess

Problem in password protection using .htaccess How to protect CRE Loaded admin area ? or Problem when page requires authentication or How to set  password protection for sub directory  without affecting to other .htaccessrewrite rules Ans : You will notice that the default .htaccess will not work if your page requires authentication. Suppose you have […]

See More

Restart Ruby and Rails application

How to Restart  Ruby and Rails application by using ssh ? Ans : You can restart your ruby and rails application by using following command. Syntax : /usr/bin/ruby -I /home/USERNAME/ruby /usr/bin/mongrel_rails start -p PORT -d -e ENVIRONMENT -P log/mongrel.pid This should be executed in the root directory of the Rails app you wish to run on Mongrel. […]

See More