What you ask is possible with ISAPI_Rewrite 3.0 http://www.helicontech.com/isapi_rewrite/ without having need to script something in ASP. I suggest you to identify "type" of request by appending "group" word to the end of subdomain name instead of ugly "t=1". So the URL will look like:
"peter.mysite.com/en/blogs"
"SomeNameGroup.mysite.com/en/blogs"
Also it is unclear where page parameter should go to.
Here is a rules for ISAPI_Rewrite 3.0 syntax:
RewriteBase /
RewriteCond %{HTTP:Host} (?!www\.)([^.]+)group\.mysite\.com [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/?]+)(?:/([^/?]+))?(?:/([^/?]+))?/? groupblogs.aspx?name=%1&lang=$1&t=2(?&year=$3) [NC,L]
RewriteCond %{HTTP:Host} (?!www\.)([^.]+)\.mysite\.com [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/?]+)(?:/([^/?]+))?(?:/([^/?]+))?/? userblogs.aspx?name=%1&lang=$1&t=1(?&year=$3) [NC,L]
2Jeff: In fact this was a simple search engine friendly URLs question and not extension removal issue. But for those who interested, here is an example how to remove specific (for instance .asp) file extensions form request using ISAPI_Rewrite 3.0 features:
#Redirect extension requests to avoid duplicate content
RewriteRule ([^?]+)\.asp $1 [NC,R=301]
#Internally add extensions to request
RewriteCond %{REQUEST_FILENAME}.asp -f
RewriteRule (.*) $1.asp
PS: Seems like this forum only operational with IE. Cannot find how to highlight links in Opera, all my links remain plain text :(