pylons/lighttpd-deployment

JSON

rev 3  |  chooper  |  1310167449000  |  JSON

rev 2
rev 3
t1This is the bare minimum config file required to run pylons under Lighttpd - asst1This is the bare minimum config file required to run pylons under Lighttpd - ass
>uming you are running are running the paster web server:>uming you are running are running the paster web server. Drop this into `/etc/li
 >ghttpd/sites-enabled/` and make sure it ends with ".conf"
22
33
rev 2  |  chooper  |  1310167378000  |  JSON

rev 1
rev 2
n1This is the bare minimum config file required to run pylons - assuming you are rn1This is the bare minimum config file required to run pylons under Lighttpd - ass
>unning are running the paster web server:>uming you are running are running the paster web server:
22
33
55
6    $HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" {6    $HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" {
n7    server.document-root = "/dev/null"n7        server.document-root = "/dev/null"
88
n9    # proxy to pylowiki's paster process on port 5000n9        # proxy to pylowiki's paster process on port 5000
10    proxy.server = (10        proxy.server = (
11        "" => (11            "" => (
12            ( "host" => "127.0.0.1", "port" => 5000, )12                ( "host" => "127.0.0.1", "port" => 5000, )
13            )
13        )14        )
t14    )t15    }
15}
rev 1  |  chooper  |  1310167346000  |  JSON

empty
rev 1
tt1This is the bare minimum config file required to run pylons - assuming you are r
 >unning are running the paster web server:
2 
3 
4.. code-block:: config
5 
6    $HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" {
7    server.document-root = "/dev/null"
8 
9    # proxy to pylowiki's paster process on port 5000
10    proxy.server = (
11        "" => (
12            ( "host" => "127.0.0.1", "port" => 5000, )
13        )
14    )
15}