~ubuntu-branches/ubuntu/precise/zonecheck/precise

« back to all changes in this revision

Viewing changes to doc/html/ch01s03.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Delafond
  • Date: 2009-10-10 11:40:59 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20091010114059-tnpi531yvdr5329q
Tags: upstream-2.0.4+cvs20081105
Import upstream version 2.0.4+cvs20081105

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>CGI</title><link rel="stylesheet" href="docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><link rel="home" href="index.html" title="ZoneCheck II"><link rel="up" href="ch01.html" title="Chapter�1.�Installation"><link rel="previous" href="ch01s02.html" title="Directory layout"><link rel="next" href="ch01s04.html" title="inetd"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2493790"></a>CGI</h2></div></div><p>Here is an exemple of 
2
 
      <a href="http://httpd.apache.org" target="_top">Apache2</a> configuration file,
3
 
      assuming ZoneCheck has been installed in
4
 
      <tt>/usr/local</tt> (PREFIX=/usr/local)
5
 
      and for html pages generated in the
6
 
      <tt>/zc/</tt> namespace (HTML_PATH=/zc).
7
 
</p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="screen">
8
 
AliasMatch  ^/zonecheck/?$         /usr/local/libexec/zonecheck/www/html/form.html
9
 
AliasMatch  ^/zonecheck/(en|fr)/?$ /usr/local/libexec/zonecheck/www/html/form.html.$1
10
 
AliasMatch  ^/zonecheck/(en|fr)/(.*)$ /usr/local/libexec/zonecheck/www/html/$2.$1
11
 
ScriptAlias /zonecheck/cgi-bin/    /usr/local/libexec/zonecheck/cgi-bin/
12
 
Alias       /zonecheck/js/         /usr/local/libexec/zonecheck/www/js/
13
 
Alias       /zonecheck/style/      /usr/local/libexec/zonecheck/www/style/
14
 
Alias       /zonecheck/img/        /usr/local/libexec/zonecheck/www/img/
15
 
Alias       /zonecheck/            /usr/local/libexec/zonecheck/www/html/
16
 
 
17
 
&lt;Directory /usr/local/libexec/zonecheck/cgi-bin/&gt;
18
 
    Options ExecCGI 
19
 
&lt;/Directory&gt;
20
 
 
21
 
&lt;Directory /usr/local/libexec/zonecheck/www/&gt;
22
 
    Options Includes FollowSymLinks MultiViews
23
 
&lt;/Directory&gt;
24
 
 
25
 
</pre></td></tr></table><p>
26
 
</p></div></body></html>