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" <[EMAIL PROTECTED]> wrote in message 002701c1dd9a$69c08010$0400a8c0@Joerg">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 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