==========================
pylons/lighttpd-deployment
==========================


pylons/lighttpd-deployment
==========================

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”

.. 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, )
           )
       )
   }

foxhop — Jul 08, 2011 08:38 pm
------------------------------

Thank you very much
``chooper <http://www.foxhop.net/account/chooper>``\ \_ ! This could be
very useful for somebody in the future
