This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
mod_psgi /
| name | age | message | |
|---|---|---|---|
| |
.deps | Wed Sep 30 13:15:51 -0700 2009 | |
| |
.gitignore | Sat Oct 10 11:11:30 -0700 2009 | |
| |
LICENSE | Wed Sep 30 13:15:51 -0700 2009 | |
| |
Makefile.in | Sat Oct 17 21:10:29 -0700 2009 | |
| |
Makefile.msc | Sun Oct 04 19:15:36 -0700 2009 | |
| |
README | Sat Oct 17 11:22:31 -0700 2009 | |
| |
configure.ac | Sat Oct 17 21:14:19 -0700 2009 | |
| |
mod_psgi.c | Sun Oct 18 01:26:31 -0700 2009 | |
| |
modules.mk | Wed Sep 30 13:15:51 -0700 2009 | |
| |
t/ | Fri Oct 16 19:50:52 -0700 2009 |
README
This is Apache2 module mod_psgi.
* Install
% ./configure
% make
% sudo make install
You can specify apxs, apachectl and perl as follows:
% ./configure \
--with-apxs=/path/to/apxs \
--with-apachectl=/path/to/apachectl \
--with-perl=/path/to/perl
Then activate it in Apache's httpd.conf file for instance
for the URL /psgi in as follows:
# httpd.conf
LoadModule psgi_module modules/mod_psgi.so
<Location /psgi>
SetHandler psgi
PSGIApp /path/to/app.psgi
</Location>
Then after restarting Apache via
$ apachectl restart
* Spec
* PSGIApp files are loaded by 'do $file' at the time of startup parent process.
The file must return a code reference that is a PSGI application.
* The input stream ($env->{'psgi.input'}) is not seekable.
$env->{'psgi.input'}->seek($pos, $whence) raises an error.
* References
* Repository: http://github.com/spiritloose/mod_psgi
* PSGI/Plack: http://plackperl.org/
* PSGI specification: http://search.cpan.org/perldoc?PSGI
* License
See the 'LICENSE' file.
* Author
Jiro Nishiguchi <jiro@cpan.org>







