diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-08-18 04:33:52 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-08-18 04:33:52 -0700 |
| commit | a33296481798236a5756835b35b19ecbe814badd (patch) | |
| tree | a407d766e3380e25a04e7bbe23bdef5e4833479e /docs | |
| parent | 9c343ed2882a03d3a8e88fc16758b9403de323d9 (diff) | |
| download | pyramid-a33296481798236a5756835b35b19ecbe814badd.tar.gz pyramid-a33296481798236a5756835b35b19ecbe814badd.tar.bz2 pyramid-a33296481798236a5756835b35b19ecbe814badd.zip | |
Clean up code-blocks in vhosting
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/vhosting.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/narr/vhosting.rst b/docs/narr/vhosting.rst index e4cee9882..4ed16adc5 100644 --- a/docs/narr/vhosting.rst +++ b/docs/narr/vhosting.rst @@ -42,14 +42,14 @@ Here's an example of a PasteDeploy configuration snippet that includes a ``rutter`` composite. .. code-block:: ini - :linenos: + :linenos: - [app:mypyramidapp] - use = egg:mypyramidapp + [app:mypyramidapp] + use = egg:mypyramidapp - [composite:main] - use = egg:rutter#urlmap - /pyramidapp = mypyramidapp + [composite:main] + use = egg:rutter#urlmap + /pyramidapp = mypyramidapp This "roots" the :app:`Pyramid` application at the prefix ``/pyramidapp`` and serves up the composite as the "main" application in the file. @@ -68,9 +68,9 @@ in your ``.ini`` file. The ``WSGIScriptAlias`` configuration setting in a :term:`mod_wsgi` configuration does the work for you: .. code-block:: apache - :linenos: + :linenos: - WSGIScriptAlias /pyramidapp /Users/chrism/projects/modwsgi/env/pyramid.wsgi + WSGIScriptAlias /pyramidapp /Users/chrism/projects/modwsgi/env/pyramid.wsgi In the above configuration, we root a :app:`Pyramid` application at ``/pyramidapp`` within the Apache configuration. |
