Subdomains as Userpages / Profilepages |
[eluser]Unknown[/eluser]
I'm searching for a way to make subdomains ussable for profilepages of users. Ofcourse I need a wildcard in my DNS and Apache config, which is already done and working. Because I want to keep this way of subdomains flexible, I don't want to use a .htaccess file so I need to do something with a route that recognizes the subdomain and does something magic. Something like this could work I think: $usernamehost = explode(’.', $_SERVER['HTTP_HOST'], 2); I have found a CI example that does explain it, but not in detail if you ask me. SO I'm confused how to use this. The blog itself also redirect to this forum, but still I can't find the right solution. http://andy.sinaptix.com/2007/08/22/user...deigniter/ Has anyone done this already ? |
Messages In This Thread |
Subdomains as Userpages / Profilepages - by El Forum - 09-19-2009, 01:53 AM
Subdomains as Userpages / Profilepages - by El Forum - 09-19-2009, 09:49 AM
|