I'm trying to write a mod rewrite to point example.com/domain.com => example.com/index.php?strURL=domain.com
So people can type example.com/yahoo.com and it would load index.php passing yahoo.com into the get parameter.
WHY make an atom of the trailing /?
I'm not. I'm an atom for the FIRST group being ([_A-Za-z0-9\.-]+). I guess the "?" does not need brackets around it, but it doesnt make a difference in this case.
Rules I've written like this one:
RewriteRule ^([_A-Za-z0-9-]+)(/)?$ game.php?strPage=$1
work just fine, but as soon as I want "." to be included, it messes up.
Now, thanks for your reply, but I did not need to hear a lesson, I needed help on finding a solution. I'm a Software Engineer with over 10 programming languages and 4 human languages in my head. I'd appreciate some assistance here.