on 6/21/01 8:14 AM, Butler, Shaun at [EMAIL PROTECTED] wrote:

> is there a way to set up a different include path per virtual host in the
> apache config or in the php.ini ?
> 
> so www.blahblah.com would have /www/libs as the include path
> 
> and 
> 
> www.moomoo.com would have /www/moo
> 
> -- Shaun

<VirtualHost 123.456.789.000:80>
        DocumentRoot /usr/local/web/myWeb
        ServerName myWeb.org
        ServerAlias www.myWeb.org
        php_value include_path /usr/local/web/myWeb_inc
        CustomLog /usr/local/web/logs/myWeb_access_log combined
        ErrorLog /usr/local/web/logs/myWeb_error_log
</VirtualHost> 

That would make the include directory outside the server root. You could
just as easily put it inside and name all your files *.php. But that has
been discussed at length already ;^)

DAve
--
Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9521 NE Willows Road, Suite 100
Redmond, WA 98052 
Toll Free 1-877-869-6603 ext. 237
Fax (425) 558-5655 
[EMAIL PROTECTED] 
http://www.rblc.com



-- 
PHP General 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]

Reply via email to