ok so here goes: I want the following link: http://blah.com/gnome/http://google.com to goto: http://blah.com/redirect.php?url=http://google.com&user=gnome the problem is the http:// and the . in http://google.com are screwing it up if it do: http://blah.com/gnome/google it will goto: http://blah.com/redirect.php?url=google&user=gnome here is my Mod_Rewrite: RewriteEngine on RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /redirect.php?url=$1&user=$2 [L] can anybody help me? thank you!
also my mod rewrite is: RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /redirect.php?url=$2&user=$1 [L] not: RewriteRule ^([^/\.]+)/([^/\.]+)/?$ /redirect.php?url=$1&user=$2 [L] can anybody help me out?I need this solved fast
i solved it myself. I base64 encode the url and my script decodes it when it wants to read them. it works perfectly.