Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I'm running AWStats on a Rails site with nginx and I have pages that are accessed like this[receipt_tag]

I'd like for AWStats to show those as x hits for page /order/receipt/* instead of 1 hit for [tag x], and 1 for [tag y] and so on. The closest directive I've found is URLWithQueryWithoutFollowingParameters, but since I'm using params as path components, I don't think that applies.

Same issue but with a (probably) more common scenario is combining ID's into one page. So /admin/orders/[order_id] should be reported as x hits for /admin/orders/* instead of /admin/orders/1 and /admin/orders/2, etc.

Is that possible?

share|improve this question

A terrible solution that I'm using is to add all digits to awstat's URLQuerySeparators conf value, like


If you have numbers in the first part of your URL (like /admin2/orders/1) it won't work very well. Also, if you want to then have it look at query string values, I'm not sure how it'll behave.

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.