Re: multi-domain installation

From: Date: Thu, 25 Jan 2001 08:40:54 +0000
Subject: Re: multi-domain installation
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1794@lists.php.net to get a copy of this message
On Thursday 25 January 2001 00:38, you wrote: > > It didn't work. From what I can figure out, the php.ini file has a section > on paths. I think that this is what is keeping me from being able to do > this. I attached my httpd.conf from apache and the section of php.ini on > paths. php hasn't really got anything to do with serving multiple domains, it's "just" a parser ;) here's an example from my httpd.conf: NameVirtualHost * <VirtualHost *> ServerAdmin trl@telia.dk DocumentRoot /home/www/ ServerName my.server.domain CustomLog logs/something combined </VirtualHost> this is to catch any odd reguest that gets to the server, which isn't any of the below NameVirtualHost 123.456.789.012 <Virtualhost 123.456.789.012> DocumentRoot /home/www ServerName my.primary.domain CustomLog logs/someothefile combined </VirtualHost> <Virtualhost 123.456.789.012> DocumentRoot /home/another/place/ ServerName some.entirely.different.domain CustomLog logs/third_log_file combined </VirtualHost> .......etc.... apache.org has a pretty good how-to on virtual domains.... youll have to remember to comment out some of the main server directives in the apache conf.... -- /Troels

« previous php.install (#1794) next »