Skip to content
Newer
Older
100644 54 lines (33 sloc) 1.11 KB
f61f188 @spiritloose Initial commit
authored Sep 18, 2009
1 This is Apache2 module mod_psgi.
2
3 * Install
4
a321c86 @spiritloose use autoconf
authored Oct 9, 2009
5 % ./configure
6 % make
7 % sudo make install
22e6f5a @spiritloose fixed README
authored Oct 4, 2009
8
a321c86 @spiritloose use autoconf
authored Oct 9, 2009
9 You can specify apxs, apachectl and perl as follows:
10
11 % ./configure \
12 --with-apxs=/path/to/apxs \
13 --with-apctl=/path/to/apachectl \
14 --with-perl=/path/to/perl
f61f188 @spiritloose Initial commit
authored Sep 18, 2009
15
16 Then activate it in Apache's httpd.conf file for instance
17 for the URL /psgi in as follows:
18
19 # httpd.conf
20 LoadModule psgi_module modules/mod_psgi.so
21 <Location /psgi>
22 SetHandler psgi
23 PSGIApp /path/to/app.psgi
24 </Location>
25
26 Then after restarting Apache via
27
28 $ apachectl restart
29
30 * Spec
31
22e6f5a @spiritloose fixed README
authored Oct 3, 2009
32 * PSGIApp files are loaded by 'do $file' at the time of startup parent process.
33 The file must return a code reference that is a PSGI application.
f61f188 @spiritloose Initial commit
authored Sep 18, 2009
34
35 * The input stream ($env->{'psgi.input'}) is not seekable.
36 $env->{'psgi.input'}->seek($pos, $whence) raises an error.
37
284c769 @spiritloose Added references section to README
authored Oct 16, 2009
38 * References
39
40 * Repository: http://github.com/spiritloose/mod_psgi
41
42 * PSGI/Plack: http://plackperl.org/
43
44 * PSGI specification: http://search.cpan.org/perldoc?PSGI
45
f61f188 @spiritloose Initial commit
authored Sep 18, 2009
46 * License
47
48 See the 'LICENSE' file.
49
50 * Author
51
52 Jiro Nishiguchi <jiro@cpan.org>
53
Something went wrong with that request. Please try again.