severity 508673 wishlist
thanks

That's certainly one way of achieving your goal, but it isn't the
recommended approach, or the one documented in the installation
instructions on the website.

Alternative approaches might involve using an Alias or DocumentRoot to
associate the DAViCal htdocs directory with a path.

You assert that "always.php was looking for AWLUtilities.php
in /usr/share/inc" but surely that is not the case.  It is looking for
it in the include path that PHP has set on your system.  The only
reasonable approaches for providing access to the AWL library are to set
the PHP include_path in the Apache virtual host, or in the php.ini, not
to change the code.

I don't expect to change the packaging of either AWL or DAViCal to
accommodate this.  I certainly *won't* be changing the code for any part
of DAViCal to explicitly refer to the path, as you have done in
always.php (I doubt that it is sufficient to change it there - you'd
need to do a global search and replace for the paths of lots of
includes).

Regardless of whether it's broken now, your installation *will* break on
upgrade unless you fix the PHP include path.  The recommended settings
to put into the Apache virtual host for running DAViCal include the
following:

  php_value include_path /usr/share/awl/inc
  php_value magic_quotes_gpc 0
  php_value register_globals 0
  php_value error_reporting "E_ALL & ~E_NOTICE"

Note that the *only* includes required by DAViCal are the AWL ones.

Regards,
                                        Andrew McMillan.

------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com                            +64(272)DEBIAN
                Necessity is the mother of documentation
------------------------------------------------------------------------





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to