Share

pyblosxom

Tracker: Feature Requests

5 install_fcgi.txt docs/install in fastcgi - ID: 2121855
Last Update: Tracker Item Submitted ( andcycle )

I tried several hours to make pyblosxom to run under fastcgi, hope there
will be a document for this, here is my step

most of the setup is from
http://pyblosxom.sourceforge.net/1.4/manual/install_paste.html
there is only few step need to be taken

1.
change in blog.ini [server:main] section, ref
http://pythonpaste.org/script/
[server:main]
use = egg:PasteScript#flup_fcgi_thread
#host = 0.0.0.0
#port = 5000

2. an extra shell script
file named in run.sh and content
#!/bin/bash
/usr/bin/paster serve /path/to/blog.ini
don't forget chmod +x

3. maybe a .htaccess
DirectoryIndex run.sh
AddHandler fcgid-script .sh
Options +ExecCGI -Indexes

this should be sufficient for most setup using apache with fastcgi/fcgid


AndCycle ( andcycle ) - 2008-09-21 16:14

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.