[imp] PHPLib

Brent J. Nordquist bjn@horde.org
Wed, 14 Feb 2001 13:56:31 -0600 (CST)


On Wed, 14 Feb 2001, Alexandre Hautequest <hquest@fesppr.br> wrote:

> IMP instructions always talk about globbaly prepend phplib. How can i
> use the auto_prepend function/method/paramether to just one virtual
> domain?

I'm not sure I understand your question, but:  I do mine inside a
<VirtualHost> section, which leaves the others unmodified as far as PHP
settings.

<VirtualHost webmail.example.com>
    DocumentRoot /home/httpd/html
    ServerName webmail.example.com
    <Directory /home/httpd/html/horde>
	[...]
        php3_include_path '.:/home/httpd/html/horde/phplib'
        php3_auto_prepend_file /home/httpd/html/horde/phplib/prepend.php3
        php3_magic_quotes_gpc Off
        php3_track_vars On
    </Directory>
    [...]
</VirtualHost>

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942