Changeset 13466
- Timestamp:
- 06/08/08 12:41:42 (5 years ago)
- Location:
- lang/perl/Ulgori/trunk
- Files:
-
- 2 modified
-
config.yaml (modified) (1 diff)
-
ulgori.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Ulgori/trunk/config.yaml
r13465 r13466 3 3 log_encoding: euc-jp 4 4 entries_per_page: 20 5 engine: 6 module: ServerSimple 7 args: 8 port: 4194 9 -
lang/perl/Ulgori/trunk/ulgori.pl
r13465 r13466 14 14 ]; 15 15 use Ulgori::Handler; 16 use Ulgori::Config; 17 18 my $cfg = Ulgori::Config->instance; 16 19 17 20 HTTP::Engine->new( 18 21 interface => { 19 module => 'ServerSimple', 20 args => { 21 port => 4194, 22 host => 'localhost', 23 }, 24 request_handler => sub { 25 my $c = shift; 26 Ulgori::Handler::handler( $c ), 27 } 22 %{ $cfg->{engine} }, 23 request_handler => \&Ulgori::Handler::handler, 28 24 }, 29 25 )->run;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)