RE: [PHP-INST] multi-domain installation

From: Date: Thu, 25 Jan 2001 16:37:41 +0000
Subject: RE: [PHP-INST] multi-domain installation
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1800@lists.php.net to get a copy of this message
Getting multiple virtual hosts is not the problem. I've already got the domains up and running. I just can't seem to get PHP to work on all domains. It seems to only want one domain because of the paths (doc_root) in the php.ini file. > -----Original Message----- > From: Telia etelia - Troels Larsen [mailto:trl@telia.dk] > Sent: Thursday, January 25, 2001 12:41 AM > To: php-install@lists.php.net > Subject: Re: [PHP-INST] multi-domain installation > > > 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 > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.install (#1800) next »