Hi all and thanks in advance, I\'m trying to add a url as a parameter but I can not. My rule is:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
Rewr
http://localhost/example/info/peter/hi/guy/http://www.example.com
is not a valid URL for what you're trying to do. The URL part should be urlencoded. See this explanation, for example.
The correct URL would be:
http://localhost/example/info/peter/hi/guy/http%3A%2F%2Fwww.example.com
Nothwithstanding this point, the error with your regex is greedy matching as described in another answer. However if you encoded the URL correctly, that wouldn't be a problem.