Re: [PHP] redirector

2002-04-06 Thread Miguel Cruz

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] redirector

2002-04-06 Thread Joerg Hanke [ML-php]

hi,

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??

reguards,
george


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php