Skip to content

Commit

Permalink
fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritloose committed Oct 3, 2009
1 parent 8fd6f10 commit 22e6f5a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README
Expand Up @@ -2,8 +2,11 @@ This is Apache2 module mod_psgi.


* Install * Install


% make APX=/usr/local/apache2/bin/apx PERL=/usr/local/bin/perl Just type 'make' and 'make install'.
% make install You can specify apxs and perl as follows:

% make APXS=/usr/local/apache2/bin/apxs PERL=/usr/local/bin/perl
% sudo make APXS=/usr/local/apache2/bin/apxs PERL=/usr/local/bin/perl install


Then activate it in Apache's httpd.conf file for instance Then activate it in Apache's httpd.conf file for instance
for the URL /psgi in as follows: for the URL /psgi in as follows:
Expand All @@ -23,8 +26,8 @@ Then after restarting Apache via


* This module works on Apache2 which is configured by '--with-mpm=prefork'. * This module works on Apache2 which is configured by '--with-mpm=prefork'.


* PSGIApp files are loaded by 'do $file'. The file must return a code reference * PSGIApp files are loaded by 'do $file' at the time of startup parent process.
that is a PSGI application. The file must return a code reference that is a PSGI application.


* The input stream ($env->{'psgi.input'}) is not seekable. * The input stream ($env->{'psgi.input'}) is not seekable.
$env->{'psgi.input'}->seek($pos, $whence) raises an error. $env->{'psgi.input'}->seek($pos, $whence) raises an error.
Expand Down

0 comments on commit 22e6f5a

Please sign in to comment.