Installing webmake.cgi
To use this, copy or link webmake.cgi to your web server's cgi-bin
directory, and set it up as a password-protected area. Here's how this is
done with Apache:
<Location /cgi-bin/webmake.cgi>
<Limit GET PUT POST>
Require valid-user
AuthType Basic
AuthName WebMake
AuthUserFile /etc/httpd/conf/webmake.passwd
</Limit>
</Location>
Next, create the file /etc/httpd/conf/webmake.passwd . Example:
htpasswd -c /etc/httpd/conf/webmake.passwd jm
New password: (type a password here)
Re-type new password: (again)
Adding password for user jm
And edit the webmake.cgi script, changing the value for
$FILE_BASE. Only files and sites below this directory will be
editable.
Note that webmake.cgi runs with the web server's username and password,
so you may have to chown or chmod files for it to work.
Supporting Metadata On Media
If you attach metadata (e.g. titles) to images or other media items using
webmake.cgi , it will write that metadata to a file called metadata.xml
in the top-level directory of the site. To pick this up, you will need to add
the following <metatable> directive to your site:
<metatable format=xml src=metadata.xml />
Using CVS With webmake.cgi
Tt can be tricky setting up a CVS server. To make things a little easier, a
step-by-step guide is provided in the Setting up CVS and
ssh for webmake.cgi HOWTO.
|