Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

share|improve this question
Apache doesn't exist. Do you mean 1.3.41? – jgoldschrafe Jan 15 '11 at 19:19
what kind of error you you have – lweller Jan 15 '11 at 19:57
You also did not specify what version the original server was. – Andrew M. Jan 15 '11 at 21:14
Try upgrading to the latest Apache. It might not solve the problem, but why fight bugs that might have been fixed by someone else. – jmort253 Jan 16 '11 at 6:07

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.