- the symlink has to be against the versioned directory.

- while there, minor tweaks.

"looks ok" alek@, ok mbalmer@
This commit is contained in:
aanriot 2006-01-17 20:58:39 +00:00
parent dece271f5b
commit 16100617aa
2 changed files with 9 additions and 7 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2005/10/05 12:18:11 mbalmer Exp $
# $OpenBSD: Makefile,v 1.5 2006/01/17 20:58:39 aanriot Exp $
COMMENT= "web-based LDAP browser to manage LDAP servers"
VERSION= 0.9.7
DISTNAME= phpldapadmin-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
HOMEPAGE= http://phpldapadmin.sourceforge.net/

View File

@ -1,16 +1,17 @@
phpLDAPAdmin has been installed into ${INSTDIR}
Edit ${INSTDIR}/config.php to configure phpLDAPAdmin
Edit ${INSTDIR}/config.php to configure phpLDAPAdmin.
You should point this to the DocumentRoot of your web-server:
# ln -s ../phpldapadmin /var/www/htdocs/phpldapadmin
# cd /var/www/htdocs
# ln -s ../phpldapadmin-${VERSION} phpldapadmin
(make sure you use a relative symlink since Apache is chrooted)
For jpeg photos to work properly, you must do this:
# mkdir /var/www/tmp
# chown www:daemon /var/www/tmp
# chmod 1755 /var/www/tmp
Where tmp is the $jpeg_temp_dir configured in config.php
# mkdir /var/www/tmp
# chown www:daemon /var/www/tmp
# chmod 1755 /var/www/tmp
(where tmp is the $jpeg_temp_dir configured in config.php)
You can ensure you have a working install by accessing:
http://<localhost>/phpldapadmin/index.php