HTML-WebMake
view release on metacpan or search on metacpan
doc/cgiinstall.html view on Meta::CPAN
[ <a href="cgi.html">Back</a> | <a href="cvshowto.html">Forward</a> | <a href="index.html">Index</a>
| <a href="allinone.html">All In One</a> ]
</div>
</td>
</tr>
</table>
<!-- yes, it's that Mozilla black-border code again ;) -->
<!-- stolen from www.mozilla.org via rc3.org -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td bgcolor="#aaaaaa">
<table border="0" cellspacing="4" cellpadding="4" width="100%">
<tr>
<td bgcolor="#ffffff">
<table border="0" cellspacing="4" cellpadding="4" width="100%">
<tr>
<td>
<h1>Installing webmake.cgi</h1><p>
To use this, copy or link <code><a href="cgistart.html">webmake.cgi</a></code> to your web server's <code>cgi-bin</code>
directory, and set it up as a password-protected area. Here's how this is
done with Apache:
</p>
<p>
<pre>
<!--etsafe-->
<Location /cgi-bin/webmake.cgi>
<Limit GET PUT POST>
Require valid-user
AuthType Basic
AuthName WebMake
AuthUserFile /etc/httpd/conf/webmake.passwd
</Limit>
</Location>
<!--/etsafe-->
</pre>
</p>
<p>
Next, create the file <code>/etc/httpd/conf/webmake.passwd</code>. Example:
</p>
<p>
<pre>
htpasswd -c /etc/httpd/conf/webmake.passwd jm
New password: <em>(type a password here)</em>
Re-type new password: <em>(again)</em>
Adding password for user jm
</pre>
</p>
<p>
And edit the <code><a href="cgistart.html">webmake.cgi</a></code> script, changing the value for
<strong>$FILE_BASE</strong>. Only files and sites below this directory will be
editable.
</p>
<p>
Note that <code><a href="cgistart.html">webmake.cgi</a></code> runs with the web server's username and password,
so you may have to <code>chown</code> or <code>chmod</code> files for it to work.
</p>
<a name="Supporting_Metadata_On_Media"><h1>Supporting Metadata On Media</h1></a><p>
If you attach <a href="metadata.html">metadata</a> (e.g. titles) to images or other media items using
<code><a href="cgistart.html">webmake.cgi</a></code>, it will write that <a href="metadata.html">metadata</a> to a file called <code><a href="metadata.html">metadata</a>.xml</code>
in the top-level directory of the site. To pick this up, you will need to add
the following <<a href="metatable.html">metatable</a>> directive to your site:
</p>
<p>
<pre>
<!--etsafe-->
<metatable format=xml src=<a href="metadata.html">metadata</a>.xml />
<!--/etsafe-->
</pre>
</p>
<a name="Using_CVS_With_a_href_cgistart_webmake_cgi_a"><h1>Using CVS With <a href="cgistart.html">webmake.cgi</a></h1></a><p>
Tt can be tricky setting up a CVS server. To make things a little easier, a
step-by-step guide is provided in the <a href="cvshowto.html">Setting up CVS and
ssh for webmake.cgi HOWTO</a>.
</p>
<p>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td valign="top">
<strong><a href="http://webmake.taint.org/">WebMake</a>
Documentation</strong> (version 2.2)
</td>
<td valign="top">
<div align="right">
[ <a href="cgi.html">Back</a> | <a href="cvshowto.html">Forward</a> | <a href="index.html">Index</a>
| <a href="allinone.html">All In One</a> ]
</div>
</td>
</tr>
</table>
<div align="right">
<a href="http://webmake.taint.org/"><img src="images/BuiltWithWebMake.png" alt="Built With WebMake" border="0" width="88" height="31" /></a>
</div>
</font>
</body>
</html>
( run in 0.733 second using v1.01-cache-2.11-cpan-5511b514fd6 )