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