From: | Renzo Rosales <rrosales@×××××.com> | ||
---|---|---|---|
To: | gentoo-server@l.g.o | ||
Subject: | Re: [gentoo-server] Help to design a RewriteRules | ||
Date: | Fri, 05 Nov 2004 18:25:39 | ||
Message-Id: | 79c4d9ee0411051025289476cd@mail.gmail.com | ||
In Reply to: | Re: [gentoo-server] Help to design a RewriteRules by Wang Penghui |
1 | > I have read it for many times.And i am so stupid that i could not |
2 | > understand it clearly. So i could not design a correct rules for my |
3 | > perpose. |
4 | > |
5 | > Here's mine: |
6 | > RewriteRule ^/\?page_name\=([^/]+) /$1 [R] |
7 | Try |
8 | RewriteRule ^/\?page_name\=([a-z0-9A-Z]+) /$1 [R] |
9 | |
10 | Which will rewrite the URL if page_name has alphanumeric characters. I |
11 | don't have a way to check your pattern and I'm not sure if it'll work. |