fixed mod_rewrite problem by adding appropiate .htaccess file in root directory