Hi:

I am new at mod_rewrite and I am trying to rewrite some urls on my site.,

I have a plesk server, and at present my mod_rewrite is not working.

My question is do I have to turn on mod_rewrite in plesk servers?

Do I have to modify the php.ini?

At present I am using this in my .htacess file


RewriteEngine On

AddType x-httpd-php .php .htm .html

AddHandler application/x-httpd-php .php .htm .html

php_flag register_globals on


RewriteRule ^findahome/(homes-[0-9]+).html$ /findahome/listing_details.php?listing_id=$1 [L]

Is anything wrong with the snippet above?