Re: redirector

From: Date: Sat, 06 Apr 2002 19:30:07 +0000
Subject: Re: redirector
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91887@lists.php.net to get a copy of this message
First things first, when you say domain.com/home/adam do you mean /home/httpd/htdocs/home/adam or /home/adam/public_html.. Once you know that you can make a more educated decision.. Either way, you should be able to specifiy DocumentRoot /home/adam/public_html or DocumentRoot /home/httpd/htdocs/home/adam in your httpd.conf file for <VirtualHost adam.domain.com:80>. Unless you are talking about authenticating users or something and redirecting specific users to the target and the rest somewhere else.. Bob "Joerg Hanke" <ml-php@hanke.hn.org> wrote in message news:002701c1dd9a$69c08010$0400a8c0@Joerg... > 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 v%ǨÆ=^…4 > ÐM9F¹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 >

« previous php.general (#91887) next »