Enabling rewrite module via .htaccess file.