Installation on your Macintosh
Direct Installation under Mac OS X. Whoever likes can install iFotoalbum directly on his or her Macintosh running Mac OS x, since Mac OS X is capable for CGI and this application is especially developed for CGI. In this case installation is quite easy. After extracting your iFotoalbum folder you´ll find a file called "Install On Mac OS X.command". Double click this file and enter your root-password (Administration password) when needed, in order to run the installation properly.

Modification of "httpd.conf file" on the webserver. The httpd.conf file must be modified in any case in order to run iFotoalbum. Eventually the following steps have been done by an advanced user earlier. If your httpd.conf has not been modified, then please follow these steps:
a) the httpd.conf file is opened by this command:
sudo pico /etc/httpd/httpd.conf (danach Eingabetaste drücken)
b) Search for "scriptalias"
by pressing CRTL + w ( this opens the search function)
enter then scriptalias and press return
Now pico has found the first matching line. An unmodified httpd.conf contains this entry:
ScriptAlias /cgi-bin/ "/Library/WebServer/CGI-Executables/"
modify this to:
ScriptAlias /cgi-bin/ "/Library/WebServer/Documents/cgi-bin/"
Some lines below there's this entry:
<Directory "/Library/WebServer/CGI-Executables">
modify this to:
<Directory "/Library/WebServer/Documents/cgi-bin">
Now save httpd.conf by pressing CTRL + o (Confirm with ENTER) und quit the application pico with CTRL + x. Then go to SHARING (located in the system preferences) and restart the webserver. Important: Never press ENTER after a line entry like you´re accustomed to commands in Terminal. If you want to avoid problems, don´t change the line layout. That's it!
Take a look at the film section for a movie (Apple´s Quicktime required) that shows you how to modify your httpd.conf. There shouldn´t be any problems left afterwards.
Installation on a Linux webserver
Of course, iFotoalbum can be installed on a webserver running Linux. It works just as great as on a Macintosh. It´s important that your main directory for the online section contains a cgi-bin folder, in which the following CGIs are installed and are released:
iFotoalbum.cgi, exif.pl, structure.pl
These three files have to be made executable after the upload by chmod 0755. Now copy the whole iFotoalbum folder, located in the installation folder, into the webserver's main directory and make it executable by chmod 0777.
If your server provides another structure for CGI files, feel free to modify the CGI. Generally, any Modification made for compatibility is allowed.
Special note
If the specific webserver allows the use of CGI in any directory, then it´s possible to put the three (previously mentioned) CGI files directy into the iFotoalbum folder and make them executable by chmod 0755. Please note, that this is not on any webserver possible.
|