使用.htaccess问题重写网址[关闭]

Url rewriting doesn't seem to work.
I want to rewrite http://www.domainname.com/job.php?id=41 to job.php/41

So this is the code I wrote in my .htaccess file:

RewriteEngine On    # Turn on the rewriting engine 
RewriteBase /

RewriteRule ^([a-zA-Z0-9_-]+)$ job.php?/$1 
RewriteRule ^([a-zA-Z0-9_-]+)/$ job.php?/$1

Doesn't seem to work. Anyone having a idea why?

Try this:

RewriteEngine On
ReWriteRule ^job.php/(.*?) job.php?id=$1