
definately i'll try it...
& i'm still stupid @ mod_rewrite.

any good online tutorial?? (will google it)
but if you want suggest any good site, advance thanks ^^


RewriteEngine On
# Extract the subdomain part of domain.com
RewriteCond %{HTTP_HOST} ^([^\.]+)\.sri-wap\.net$ [NC]
# Check that the subdomain part is not www and ftp and mail
RewriteCond %1 !^(www|ftp|mail)$ [NC]
# Redirect all requests to a php script passing as argument the subdomain
RewriteRule ^.*$ http://www.domain.com?abc=%1 [R,L]
Leave a comment: