url.rewrite-once with Kohana and with urls
Posted
by mike clagg
on Stack Overflow
See other posts from Stack Overflow
or by mike clagg
Published on 2010-06-01T17:38:41Z
Indexed on
2010/06/01
17:43 UTC
Read the original article
Hit count: 179
currently I have this setup in our simple-hosts.conf:
url.rewrite-once = (
".*.(js|ico|gif|jpg|png|css|php|htm)(?.*)?$" => "$0",
"/slapi" => "/slapi/index.php"
)
Works great, except the above fails when I have a dot in the query string:
?url=http://google.com
My regexpy is not 1337
© Stack Overflow or respective owner