Hi!
For the display of the active user sessions, eGroupware needs access to
the PHP session directory. For a standard RPM / DEB install, two things
block this:
- path is missing in doc/rpm-build/apache.conf open_basedir list
- path is distribution-dependent and not readable in Debain systems
So, the path /var/lib/php5 could:
- either be statically added in the file,
- dynamically added by the build process (distribution dependent) or
- the header.inc.php could be extended to define a location for
the eGroupware installation (common to all hosted egw-domains):
// eGW session dir
define(‘EGW_SESSION_DIR’,’/var/lib/egroupware/sessions’);
session_save_path(EGW_SESSION_DIR);
// and optionally (already set in .htaccess)
ini_set(‘session.gc_probability’, 1);
Showing the user sessions is a nice gadget, not showing them is a lot
more secure, that’s why they are disabled by default and I dont want to
change that.
I implemented now a better solution in Trunk and will backport it into
the next community release.
So for now users having the skills (and hopefully also the understanding
what they are doing) can enable it, but it will stay off by default.
Which brings me to another problem with regard to the settings:
doc/rpm-build/apache.conf
is not in sync with (at least)
.htaccess
Can the RPM build process combine the apache.conf from a skeleton
apache.conf.in and the other files (e.g. by replacing placeholders in
apache.conf.in through the content of the other files, using e.g. ‘sed’)?
.htaccess should NOT be in rpm/deb packages. Are you saying it is or
only both apache.conf and .htaccess should contain the same values?
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
Commerzbank BLZ 55040022 | Account 218111300
IBAN DE33 5504 0022 0218 1113 00 | BIC COBADEFFXXX
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
EMC VNX: the world’s simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers