You are not logged in.

#1 2010-03-23 05:10:04

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

lighttpd + webpy + php

I'm trying to get my lighttpd server to work with both php and webpy. Something that sort of bugs me, however, is the insistence of using only a single file in the configuration (usually code.py). However, I'd like to make a handful of small/fun scripts that aren't integrated with the 'main application', so I want to be able to run any python code just by going to <filename>.py. The cgi.assign ( ".py" => "/usr/bin/python" ) rule seems to work, but is that a fast enough implementation for python?

It'd be great if I could get PHP and Python to play nicely together on lighttpd. Sometimes I use php, sometimes I use python...

EDIT: It helps if I include my config, doesn't it? x_X  http://paste.pocoo.org/show/192765/

Last edited by xelados (2010-03-23 05:21:44)

Offline

Board footer

Powered by FluxBB