Hi,
i want to achieve XXX.hostdomain.com/ => www.hostdomain.com/index.php?s=XXX
AND XXX.hostdomain.com/YYY/ => www.hostdomain.com/index.php?d=YYY&s=XXX
i 've read the topic in :http://forum.modrewrite.com/viewtopic.php?t=2671
but i don't want to change the hostdomain,and i also need to achieve the two situations.
Please if some one can help me,I'm new to url rewriting .Thx a lot