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:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 12:41 AM
> To: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]