Need help with Mod RewriteRule

Here is a copy of my .htaccess file:


# To process php code inside .html files
AddHandler application/x-httpd-php5s .php .html

RewriteEngine On

# To yank the associate ID out of the URL and make available to php code
#RewriteRule ^/?([0-9]+)/?$ index.php?x=$1 [L]

# To reroute people from convert2silver.com over to www.convert2silver.com
#RewriteCond %{HTTP_HOST} ^convert2silver\\.com$ [NC]
#RewriteRule ^(.*)$ http://www.convert2silver.com/$1 [R=301,L]

Normally this is supposed to take an affiliate number that is in the URL, like the following example, and lookup in the database the associate’s name and contact info.

http://www.convert2silver.com/2402

But yesterday I had trouble moving my primary domain into a subdomain and once I realized the problems it created, I reversed everything. Somehow in the move, or the changing of some configurations in cPanel, my convert2silver.com/2402 now produces a file not found error. If I remove the affiliate number from the URL, the site comes up fine.

Can someone help me pinpoint what I screwed up to make this stop working?

Thanks!

You have the rewrite rules commented out (with #) - is that the case on the live server?

That did the trick, thank you.