Login or register    

This is the bare minimum config file required to run pylons under Lighttpd - assuming you are running the paster web server. Drop this into /etc/lighttpd/sites-enabled/ and make sure it ends with ".conf"

$HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" {
    server.document-root = "/dev/null"

    # proxy to pylowiki's paster process on port 5000
    proxy.server = (
        "" => (
            ( "host" => "127.0.0.1", "port" => 5000, )
        )
    )
}

Comments

foxhop 12:38 AM 07-09-2011

Thank you very much chooper ! This could be very useful for somebody in the future

Leave a comment

Please login or register to leave a comment!