Re: Mulitple ini files?
| From: | charlesk | Date: | Fri, 15 Mar 2002 21:59:50 +0000 |
| Subject: | Re: Mulitple ini files? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88709@lists.php.net to get a copy of this message | ||
I have many sites and all are virtual hosts. I would like IIS to specify the home directory, for
html, gifs, jpgs... and all of the php files to be somewhere else in the filesystem, specified by
the php.ini.
Charles
---------- Original Message ----------------------------------
From: mnc@stoic.net
Date: Fri, 15 Mar 2002 15:38:17 -0600 (CST)
This is an IIS configuration issue. IIS is a horrible program to try to
configure (look into getting Apache, which has flexible, powerful and
well-documented configuration), but in a nutshell you need to look up how
to create "virtual hosts". Each one can have its own root.
miguel
On Fri, 15 Mar 2002, charlesk wrote:
> I want to make use of the doc_root settings in the ini file. But I don't want ot have
> links on my sites like
> on one site
> href="/site1/document.php"
> and on another site
> href="/site2/document.php"
>
> Is there some way to have different doc_roots based on the domain name or per IIS site?
>
> Charles Killmer
> IIS 5.0 Windows 2000 Server PHP 4.1.2
>
>