[ readme.html ]

Installing Conference Rooms

File permissions
Restricting who can reserve rooms

There are several steps to getting Conference Rooms installed on your server, so please read carefully, and be patient:

  1. Get the latest version of Conference Rooms, which will always be available from the Conference Rooms homepage.
  2. Get the necessary Perl modules, listed in the readme.html file, and install them.
    If you are installing this under Windows NT, and are unfortunate enough to be running IIS, it may be easiest to also move Conference.pm into the /perl/lib directory (wherever you have Perl installed), since IIS has a strange definition of "current directory".
  3. Open Conference.pm in a text editor, and edit the values that appear above the fist subroutine. These will be such things as the names of your conference rooms, the range of times that you want your schedule to span, and the location of your cgi directory on your server. Save your changes.
  4. If you desire, you can modify any of the template HTML files appearing the the "templates" directory. Notice that there are variables in those files which look like %%%variable%%%. Don't mess with those, as those are the values that the CGI scripts fill in at run time. If you are going to play with the HTML files, make sure you save a backup copy, at least until you get the concept.
You should be ready to start now. Point your browser at http://your.server/cgi-bin/conference/conference.cgi and enjoy.

To delete old events, just run the expire_reservations script occasionally, such as with a cron process. It may complain about being unable to find Conference.pm, depending on how "current directory" is defined by your cron process. If that happens, add a line above

use Conference;

that looks like

use lib '/path/to/your/cgi/directory/conference';

and that will usually resolve the problem.

File permissions

People frequently have trouble with file permissions, so here's what you have to do. Remember that this is a database application, of sorts, so the scripts have to have write access to the "database" files. Those files are reservations, reservations.lock, reserve_id, and reserve_id.lock. Since on most servers the CGI processes run with no permissions, this means that you have to allow everyone to write to those files. On a Unix system, this means chmod a+w filename, and on NT, this means "Everyone, full control". If this concerns you a lot, you might want to move those files outside of the web root directory, so that nobody can retrieve those files with a browser. Just modify the location of the files in Conference.pm by putting a full path in the variable name. For example:
$datafile  = '/home/foobar/securefiles/reservations';
Or
$datafile  = 'c:/securefiles/reservations';

Restricting who can add events

One of the more frequently requested features in past versions was the ability to restrict who can reserve rooms. In this version, I have split the "user" and "admin" functionality into two files. This means, on web servers that support such a concept, that you can password protect the admin.cgi file, so that only those persons with permission to do so can add, edit, and remove reservations. You will need to consult the documentation on your particular web server to see how to do this. A large variety of servers support this behavior, including the big three - Apache, IIS, and Netscape servers. If in doubt, just install Apache.

[ readme.html ]