|
|
| t | This is the bare minimum config file required to run pylons under Lighttpd - ass | t | This 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" |
| | | |
| | | |
|
|
| n | This is the bare minimum config file required to run pylons - assuming you are r | n | This 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: |
| | | |
| | | |
| | | |
| $HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" { | | $HTTP["host"] =~ "(^|www\.)my-pylowiki-site\.com$" { |
| n | server.document-root = "/dev/null" | n | server.document-root = "/dev/null" |
| | | |
| n | # proxy to pylowiki's paster process on port 5000 | n | # proxy to pylowiki's paster process on port 5000 |
| proxy.server = ( | | proxy.server = ( |
| "" => ( | | "" => ( |
| ( "host" => "127.0.0.1", "port" => 5000, ) | | ( "host" => "127.0.0.1", "port" => 5000, ) |
| | | ) |
| ) | | ) |
| t | ) | t | } |
| } | | |
|
|
| t | | t | This is the bare minimum config file required to run pylons - assuming you are r |
| | | unning are running the paster web server: |
| | | |
| | | |
| | | .. code-block:: config |
| | | |
| | | $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, ) |
| | | ) |
| | | ) |
| | | } |