diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-11-01 19:26:08 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-11-01 19:26:08 +0000 |
| commit | 65e110304147fa4c19d9c6cc29e0f289e1465b4b (patch) | |
| tree | 354e0972c49e364a4e606a64558e3ea22056a8d3 /docs/narr/startup.rst | |
| parent | 4af9009e1765ea413465d477060b3d82f470562f (diff) | |
| download | pyramid-65e110304147fa4c19d9c6cc29e0f289e1465b4b.tar.gz pyramid-65e110304147fa4c19d9c6cc29e0f289e1465b4b.tar.bz2 pyramid-65e110304147fa4c19d9c6cc29e0f289e1465b4b.zip | |
- Change default paster template generator to use ``Paste#http``
server rather than ``PasteScript#cherrpy`` server. The cherrypy
server has a security risk in it when ``REMOTE_USER`` is trusted
by the downstream application.
Diffstat (limited to 'docs/narr/startup.rst')
| -rw-r--r-- | docs/narr/startup.rst | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst index 17eb35d1e..b9391b273 100644 --- a/docs/narr/startup.rst +++ b/docs/narr/startup.rst @@ -156,13 +156,10 @@ press ``return`` after running ``paster serve MyProject.ini``. another WSGI application". #. PasteDeploy starts the WSGI *server* defined within the - ``[server:main]`` section. In our case, this is the "CherryPy" - server (``use = egg:PasteScript#cherrypy``), and it will listen on - all interfaces (``host = 0.0.0.0``), on port number 6543 (``port = - 6543``). It will serve up the application using 4 simultaneous - threads (``numthreads = 4``), which means it will handle four - simultaneous requests before needing to put a request in a wait - queue. The server code itself is what prints ``serving on + ``[server:main]`` section. In our case, this is the ``Paste#http`` + server (``use = egg:Paste#http``), and it will listen on all + interfaces (``host = 0.0.0.0``), on port number 6543 (``port = + 6543``). The server code itself is what prints ``serving on 0.0.0.0:6543 view at http://127.0.0.1:6543``. The server serves the application, and the application is running, waiting to receive requests. |
