Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update readme #5

Open
wants to merge 3 commits into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 21, 2010
  1. @c9s

    Installation on Debian/Ubuntu

    c9s authored
  2. @c9s

    Note: link module

    c9s authored
  3. @c9s

    Fix the path in readme

    c9s authored
This page is out of date. Refresh to see the latest.
Showing with 24 additions and 1 deletion.
  1. +24 −1 README
View
25 README
@@ -17,7 +17,7 @@ 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
+ LoadModule psgi_module /usr/lib/apache2/modules/mod_psgi.so
<Location /psgi>
SetHandler psgi
PSGIApp /path/to/app.psgi
@@ -27,6 +27,29 @@ Then after restarting Apache via
$ apachectl restart
+* Install on Debian/Ubuntu linux system
+
+ apache2-threaded-dev or apache2-prefork-dev is required.
+
+ $ autoscan .
+ $ autoconf
+ $ ./configure --with-apxs=/usr/bin/apxs2 \
+ --with-apachectl=/usr/sbin/apachectl \
+ --with-perl=/usr/bin/perl
+ $ sudo make install
+
+ Let apache2 to load mod_psgi module:
+
+ $ vim /etc/apache2/mods-available/mod_psgi.load
+ LoadModule psgi_module modules/mod_psgi.so
+
+ $ cd /etc/apache2/mods-enabled/ && ln -s ../mods-available/mod_psgi.load .
+
+ $ sudo /etc/init.d/apache2 restart
+
+ Done
+
+
* Spec
* PSGIApp files are loaded by 'do $file' at the time of startup parent process.
Something went wrong with that request. Please try again.