Htaccess not working with mod_rewrite

software development

#1

Hi,

I am trying to switch my site over to dreamhost and setting up my URLS with mod_rewrite. On my previous server i have this setup in root but going to use htaccess on dreamhost and they dont work. here is what i have setup:

Options +FollowSymLinks
RewriteEngine on

RewriteRule ^/([0-9]+) /rental.php?rental=$1 [PT]
RewriteRule /shore-vacation-rentals(.+) /rentals.php?location=$1 [PT]
RewriteRule /shore-rentals(.+) /shore-rentals.php?location=$1 [PT]
RewriteRule /util(.+) /util.php?cat=$1 [PT]
RewriteRule refine-your-search(.) /search.php?search=$1 [PT]
RewriteRule rentals-by-renter(.
) /renter-rentals.php?renter=$1 [L]

Any help is appreciated. you can preview the site on
http://shorerentals.dreamhosters.com