Hi what I want to do is take an url like: http://mydomain.com/google.com
and parse it so it opens google.com in an iframe. The goal is to be able to open any site on mydomain.com in iframe but have users submit their desired site with http://mydomain.com/<somesite>
for example: http://mydomain.com/youtube.com
would open youtube in iframe.
The problem is that appending the site to the url like that obviously returns 404 not found. I'm guessing some htaccess magic is needed here but I am no good with it.
So how would I accomplish this?