Using username as subdomain |
[eluser]achilez[/eluser]
I plan to create a new social networking site like multiply, stumbleupon, facebook, friendster and more. but i need your help me to figure out on how to use a username as subdomain in codeigniter. i.e. http://myusername1.mydomain.com http://myusername2.mydomain.com http://myusername3.mydomain.com and more... Any help would appreciate it so i can proceed on my project. Thanks!
[eluser]gullah[/eluser]
More than likely you are just going to be doing mod_rewrite to change say /user/john to john.mydomain.com. I am not familiar with the mod_rewrite commands to achieve this but I'm sure a quick search wil net you what you are looking for.
[eluser]achilez[/eluser]
can someone help me figure out the correct command for mod_rewrite on .htaccess? or do you have any other solution?
[eluser]pistolPete[/eluser]
Try these: - http://ellislab.com/forums/viewthread/51627/ - http://andy.sinaptix.com/2007/08/22/user...deigniter/ |
Welcome Guest, Not a member yet? Register Sign In |