configuration added and updated

This commit is contained in:
Marc Wäckerlin
2017-02-26 11:11:41 +00:00
parent 4f6fd7bad9
commit fdde529e91
14 changed files with 160 additions and 21 deletions

18
README
View File

@@ -3,3 +3,21 @@ Browse Fotos in Internet and Share with Friends
Expose your personal foto folder to the internet, limit users by Apache or LDAP configuration and allow users to share fotos with friends.
See: https://dev.marc.waeckerlin.org/redmine/projects/sharing-gallery/wiki
Configuration:
/etc/gallery/password:
Contains only a server password that is used as part of any ancryption. Keep it secret. Only the web server process should be able to read this file.
You can generate it e.g. using: `pwgen 20 1` > /etc/gallery/password
/etc/gallery/settings.php
Provide path to images as `$path`, path to thumbnails as `$thumbs`. Set maximum of days a link is valid in `$max_validity_days`.
/etc/gallery/authentication.php
Check and verify the user, then provide `$username` if login is successful.
/etc/gallery/usersettings.php