Include ":" character in parameter using Apache's mod_rewrite
- by travis
I use something like that to pass to the parameter 'text' what follows after the domain
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?text=$1 [L,QSA]
So if I have www.example.com/tralala I get $text='tralala'
But I want it to be possible to have in the parameter the character ":" multiple times:
www.example.com/me:you:him
Can you give me a hand?
If I test www.example.com/me:you:him I get the error:
Forbidden
You don't have permission to access /you:me:him on this server.