8 |
unshift(@INC, $basedir); |
unshift(@INC, $basedir); |
9 |
} |
} |
10 |
|
|
11 |
|
=head1 NAME |
12 |
|
|
13 |
|
httpd.pl - http server for Mail::Box Web Search |
14 |
|
|
15 |
|
=head1 SYNOPSYS |
16 |
|
|
17 |
|
httpd.pl [local.conf] |
18 |
|
|
19 |
|
=head1 DESCRIPTION |
20 |
|
|
21 |
|
This is small http server, based on C<HTTP::Daemon> which is designed |
22 |
|
for single-user use (on laptop for example) via loopback. |
23 |
|
|
24 |
|
It doesn't provide any authentification or authorisation, and it can handle |
25 |
|
just one request at the time, so it's not suted for public-facing sites, |
26 |
|
even if you don't care about security of your mailboxes. |
27 |
|
|
28 |
|
=head1 SEE ALSO |
29 |
|
|
30 |
|
C<MWS> perl modules which are part of this package |
31 |
|
|
32 |
|
=cut |
33 |
|
|
34 |
use strict; |
use strict; |
35 |
use warnings; |
use warnings; |
36 |
use MWS::SWISH; |
use MWS::SWISH; |