(\d+) and ([0-9]+) htaccess rewrite not working on new server, works fine on old server


RewriteRule ^mp3/(\d+)/(.*)/$ download.php?id=$1 [L,NC]

is the specific rewrite rule I am trying to get working….it was working fine on my old server but now I am on a server with Apache if that has anything to do with it.

Best Answer

\d is not supported in Apache 1.3.x. Use [0-9] instead. (\d will work in Apache 2.)

Related Topic