Quote:
|
RewriteRule ^.\([a-z-]+\.com)(.*) /www/hosts/$1/$2
|
That is close but not quite right -- this regular expression starts with:
^ = beginning of line
. = any single character
\( = a literal "(" character
The regular expression you want to match for "domain.com" is:
^([a-z]+\.com)(.*)
If you can't make sense of this, I can fix for you on your machine, please IM me (ICQ #21483582) -- it shouldn't take more than 5 minutes.