Need to add $_GET args to my regex
Posted
by TaMeR
on Stack Overflow
See other posts from Stack Overflow
or by TaMeR
Published on 2010-04-16T12:31:52Z
Indexed on
2010/04/16
12:33 UTC
Read the original article
Hit count: 399
regex
url.rewrite-once = (
".*\.(js|ico|gif|jpg|png|css|html)$" => "$0",
"^/([^?]*)(\?.*)?$" => "/$1.php/$2",
)
This is what I got but the args don't work. I like following url
http://www.example.com/index.php/?r=something
To look like this:
http://www.example.com/index/?r=something
Thanx
© Stack Overflow or respective owner