What is this? ------------- Gallery is a _completely_ awesome photo management program written in PHP. I have fallen in love with it so I thought I'd make it available to our EnGarde users. Setting it up ------------- The following files are located here: 1a32e57b36ca06d22475938e1e1b19f9 gallery-1.2.5.tar.gz a0cecdecb56a6fa18d5c2c3a7bf5cd1c libjpeg-6b-1.1.0.i386.rpm bfee2996f4871be89dd018ec566115c7 libpng-1.0.5-1.1.1.i386.rpm 25537db940a86ce2ea5a9e8a517dbc81 netpbm-9.14-2.i386.rpm c0e6bcfffbc8c6281e8cbec88400c007 netpbm-devel-9.14-2.i386.rpm 084052bf8384b0502a704442f45c6f41 netpbm-progs-9.14-2.i386.rpm First off you need to install the helper programs: # lidsadm -S -- -LIDS_GLOBAL # rpm -Uvh --nodeps *.rpm # /usr/sbin/config_lids.pl # lidsadm -S -- +LIDS_GLOBAL Next you need to edit your httpd.conf to enable apache's mod_rewrite. Add this line to the bottom of the "LoadModule" directives (circa line 93): LoadModule rewrite_module modules/mod_rewrite.so Add this line after all the "AddModule" directives (circia line 127): AddModule mod_rewrite.c Finally, set up index.php as a directory index. Change this line (circa line 185): DirectoryIndex index.html index.htm to: DirectoryIndex index.html index.htm index.php Now restart apache and you're set. Setting up Gallery ------------------ Set up a virtual host (for example, www.site.com). cd /home/httpd/www.site.com-80/html tar -zxvf /where/you/put/gallery-1.2.5.tar.gz You now have a directory called gallery. Read the file README in this directory for directions on how to setup Gallery. Please do not ask me questions on how to do this... my job is simply getting it to work with EnGarde. ;) If you have questions... ------------------------ I wrote this document in a little hurry so I may have missed something. If I did then by all means please point it out to me so I can update this document. A side note: I don't think that this will work with TIFF's (hence the --nodeps above). If anybody has a need for using this with TIFF's let me know and I'll build a libtiff package... I know I have one someplace but I can't find it. Hop on irc.openprojects.net, #EnGarde. I'm Mallory and will help you! (Thank you to Denis Reneau for bringing a typo in this document to my attention!)