/[pub]/suikawiki/script/wiki.cgi
Suika

Diff of /suikawiki/script/wiki.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.54.2.1 by wakaba, Thu Nov 27 05:30:13 2003 UTC revision 1.58.6.1 by hero, Sun May 16 23:53:07 2010 UTC
# Line 1  Line 1 
1  #!/usr/bin/perl  #!/usr/bin/perl5.8.7
2  ## wiki.cgi --- This is SuikaWiki, yet another WikiEngine  BEGIN { $0 = ''.$0 }
 $0 = ''.$0;  
3  use strict;  use strict;
4    use lib qw(lib);
5  use CGI::Carp qw(fatalsToBrowser);  use CGI::Carp qw(fatalsToBrowser);
 require 'wikidata/suikawiki-config.ph'; ## the site configuration script  
 require 'suikawiki.pl'; ## the main script  
6    
7  package SuikaWiki;  ## Configuration script
8  our $VERSION = '2.2';  require 'wikidata/suikawiki-config.ph';
9    
10    ## WikiDriver main module
11    require 'suikawiki.pl';
12    
13  =head1 NAME  =head1 NAME
14    
15  wiki.cgi --- SuikaWiki: Yet yet another WikiEngine  wiki.cgi - SuikaWiki: Yet yet another WikiEngine - HTTP CGI Script Driver
16    
17    =head1 DESCRIPTION
18    
19    This is a boot script for SuikaWiki HTTP CGI Script Driver (SWHCS).
20    Actual driving of WikiEngine is coded in C<lib/suikawiki.pl>.
21    Options such as WikiDB directories can be specified in C<wikidata/suikawiki.ph>.
22    
23    This file is part of SuikaWiki.
24    
25    =head1 SYNOPSIS
26    
27      $ telnet www.example.net 80<Enter>
28      GET /path/to/wiki/cgi/script?WikiName HTTP/1.1<Enter>
29      Host: www.example.net<Enter>
30      <Enter>
31    
32    Future version of SuikaWiki will accept "Accept: text/plain" HTTP
33    request header field.
34    
35  =head1 SEE ALSO  =head1 SEE ALSO
36    
37  <IW:SuikaWiki:SuikaWiki>  <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?SuikaWiki>,
38    <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?SWHCS>,
39    C<lib/suikawiki.pl>,
40    C<wikidata/suikawiki-config.ph>
41    
42  =head1 LICENSE  =head1 LICENSE
43    
44  Copyright 2002-2003 Wakaba <w@suika.fam.cx>  Copyright 2002-2004 Wakaba <w@suika.fam.cx>.  All rights reserved.
45    
46  This program is free software; you can redistribute it and/or  This program is free software; you can redistribute it and/or
47  modify it under the same terms as Perl itself.  modify it under the same terms as Perl itself.

Legend:
Removed from v.1.54.2.1  
changed lines
  Added in v.1.58.6.1

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24