is it in the httpd.conf ?
afaik, it is in the hosts ... if it is in the httpd.conf, then they
need to restart the apache server right ?
adwin
On Sep 29, 5:17 pm, "Isaac Raja" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have done it actually. i also use cake php to power it.
>
> My domain iswww.indiandrs.in
>
> i'll tell you what i have done.
>
> I spoke with my web hoster and told him to add a wildcard entry for my
> domain *.indiandrs.in
>
> after that, in before filter of u r application, u should extract the
> subdomain name in to a variable.
>
> $domain = env('HTTP_HOST');
> $domain_parts = explode('.',$domain);
> if (count($domain_parts) == 3 && $domain_parts[0]!= "www") { // make sure a
> subdomain is called
>
> $user = $domain_parts[0];
>
> this method works only when your web hosting provider adds a wild card entry
> in httpd.conf file
>
> Thanks
>
> Isaac
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---