[imp] PHPLib problems

jimmy@firstlink.com.au jimmy@firstlink.com.au
Fri, 25 Jan 2002 22:03:50 +1100


Hi,
why not try the following setting in apache's access.conf

<Directory /home/my_sites/virtual_1/horde_folder>
AllowOverride All
Options All
php_value include_path = .:/home/php/phplib/php:/home/php/lib/php
</Directory>

<Directory /home/my_sites/virtual_1/other_folder>
AllowOverride All
Options All
php_value auto_prepend_file = /home/php/phplib/php/prepend.php3
</Directory>

then restart apache


Quoting Jan Schneider <jan@horde.org>:

> Zitat von Jesper Frank Nemholt <jfn@dassic.com>:
> 
> > Hi!
> > 
> > I´ve just installed HORDE 2.0 and IMP 3.0 on a machine running Apache
> > 1.3.22 and PHP 4.1.1.
> > 
> > I run IMP/HORDE in a dedicated Apache virtual server and have several
> > other virtual servers running other stuff.
> > Most of the other stuff uses PHPLib 7.2d for generic database access.
> > 
> > My php.ini :
> > 
> > include_path = /home/php/phplib/php:/home/php/lib/php
> > auto_prepend_file = /home/php/phplib/php/prepend.php3
> > 
> > When setting the auto_prepend_file, HORDE & IMP doesn't work but show
> > just blank pages.
> > If I remove the auto_prepend_file, HORDE & IMP works fine, but all my
> > other stuff breaks.
> > 
> > 
> > I've seen it mentioned in the docs that it's possible to setup so PHPLib
> > only affect certain parts of the site, and thus making it possible to
> > exclude my HORDE/IMP dir.
> > How do I do that, or is there a better way to have both running without
> > conflict ?
> 
> As you obviously have more files depending on phplib than breaking on it, 
> it would be the best if you could exclude the horde directory from auto 
> prepending the phplib stuff.
> 
> I'm not sure if it works, but setting auto_prepend_file to an empty string 
> in the virtual server directive for horde or in a .htaccess file inside the
> 
> horde directory should be worth a try.
> 
> Jan.
> 
> --
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax  +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 




--------------------------------------------------------
This mail sent through firstlink.com.au webmail service