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]
Re: [PHP-INST] multi-domain installation
Telia etelia - Troels Larsen Thu, 25 Jan 2001 00:24:45 -0800
- [PHP-INST] multi-domain installation Michael DeVicariis
- Re: [PHP-INST] multi-domain installation Josh Lokot
- RE: [PHP-INST] multi-domain installation Michael DeVicariis
- Re: [PHP-INST] multi-domain installation Josh Lokot
- RE: [PHP-INST] multi-domain installa... Michael DeVicariis
- RE: [PHP-INST] multi-domain installation Michael DeVicariis
- RE: [PHP-INST] multi-domain installation Telia etelia - Troels Larsen
- RE: [PHP-INST] multi-domain installa... Michael DeVicariis
