Re: redirector

From: Date: Sat, 06 Apr 2002 18:48:19 +0000
Subject: Re: redirector
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91883@lists.php.net to get a copy of this message
On Sat, 6 Apr 2002, Joerg Hanke [ML-php] wrote: > i've got the possibility to create alias subdomains, which redirect all > to the document-root... > > e.g.: > > http://adam.domain.com redirects to > http://domain.com > > i want to redirect the users who access http://adam.domain.com > to > http://domain.com/home/adam > > how to do this best in php?? Do you really need to use PHP for this? The fastest and easiest way is using Apache's mod_rewrite. miguel

« previous php.general (#91883) next »