how to map a querystring to subdomain using mod_rewrite
Posted: Wed May 12, 2010 8:06 am
Hello,
In my website I used the url like www.domainname/user/page.php which i had done using mod_rewrite in .htaccess file,originally the url is like
www.domainname?uid =user&pid=page.php,but now the client had asked me for the url like
www.user.domainname.com.page.php is it possible to get it by URL mapping and using the concept of virtual subdomain or I have to introduce the concept of subdomains creation in my website to get it done.
Please reply asap.
Thankyou.
In my website I used the url like www.domainname/user/page.php which i had done using mod_rewrite in .htaccess file,originally the url is like
www.domainname?uid =user&pid=page.php,but now the client had asked me for the url like
www.user.domainname.com.page.php is it possible to get it by URL mapping and using the concept of virtual subdomain or I have to introduce the concept of subdomains creation in my website to get it done.
Please reply asap.
Thankyou.