View previous topic :: View next topic |
Author |
Message |
123456 -
Joined: 07 Mar 2008 Posts: 2
|
Posted: Fri Mar 07, 2008 9:23 am Post subject: I am newbie |
|
|
Hello!
Abyss server is very nice and easy to use, but im newbie in url rewriting
Well if im want rewrite url from
http://mysite.com/modules.php?name=Forums&file=viewforum&f=1
to
http://mysite.com/modules/forums/viewforum/1
What i need to do step by step?? Plzz help anyone! |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Sat Mar 08, 2008 2:51 am Post subject: |
|
|
Virtual path regex: ^/modules/(.+)/(.+)/(.*)
Case sensitive: This is up to you. I would uncheck it.
Apply to subrequests too: yes
If rule matches: internal redirection
Redirect to: /modules.php?name=$1&file=$2&f=$3
Append query string: no
Escape redirection location: no
Next action: stop matching
Try that. See if it gets you what you want. You're the one who knows the URL syntax for the rewrite, so toying around with it should get you what you want.
Good website: http://regular-expressions.info
Recommended program: The Regex Coach _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
123456 -
Joined: 07 Mar 2008 Posts: 2
|
Posted: Thu Mar 13, 2008 1:02 am Post subject: |
|
|
Thanks for your helping, but nothing happens... Here is image PLEASE HELP
maybe any php modules needed? |
|
Back to top |
|
|
loloyd -
Joined: 03 Mar 2006 Posts: 435 Location: Philippines
|
|
Back to top |
|
|
|