summaryrefslogtreecommitdiff
path: root/docs/narr/vhosting.rst
AgeCommit message (Collapse)Author
2018-08-21Merge pull request #3330 from stevepiercy/docs-code-styleMichael Merickel
Docs code style
2018-08-19Fix broken links from linkcheck, exclude localhost from checkSteve Piercy
2018-08-18Clean up code-blocks in vhostingSteve Piercy
2016-11-21remove the deprecated IContextURLMichael Merickel
2015-10-20minor grammar, rewrap 79 columnsSteve Piercy
2013-11-17Removed extra indentation from some examples (:linenos: should be indented ↵Antti Haapala
with the same indentation as the rest of the code block)
2011-10-06remove stray references to PasteChris McDonough
2011-09-02remove; too complex to document hereChris McDonough
2011-09-01- Added a "Fixing HTTP vs. HTTP When Deploying Behind a Proxy" section to theChris McDonough
"Virtual Hosting" chapter.
2011-08-22- Use [app:main] instead of a pipeline in all scaffolds and tutorialsChris McDonough
and narrative docs. - Break out awkward description of PasteDeploy entry points from project chapter into its own Paste chapter.
2011-08-14- The ``route_url``, ``route_path``, ``resource_url``, ``static_url``, andChris McDonough
``current_route_url`` functions in the ``pyramid.url`` package now delegate to a method on the request they've been passed, instead of the other way around. The pyramid.request.Request object now inherits from a mixin named pyramid.url.URLMethodsMixin to make this possible, and all url/path generation logic is embedded in this mixin. - Narrative and API documentation which used the ``route_url``, ``route_path``, ``resource_url``, ``static_url``, and ``current_route_url`` functions in the ``pyramid.url`` package have now been changed to use eponymous methods of the request instead.
2011-07-20add more index markersChris McDonough
2010-12-20FeaturesChris McDonough
-------- - If a resource implements a ``__resource_url__`` method, it will be called as the result of invoking the ``pyramid.url.resource_url`` function to generate a URL, overriding the default logic. See the new "Generating The URL Of A Resource" section within the Resources narrative chapter. Documentation ------------- - Added "Generating The URL Of A Resource" section to the Resources narrative chapter (includes information about overriding URL generation using ``__resource_url__``). - Added "Generating the Path To a Resource" section to the Resources narrative chapter. - Added "Finding a Resource by Path" section to the Resources narrative chapter.
2010-12-18model -> resource; resource -> assetChris McDonough
2010-11-28Fixed typos in vhostingBlaise Laflamme
2010-11-28Narrative doc cleanupBlaise Laflamme
2010-11-09- All references to Pyramid-the-application were changed from :mod:`pyramid`Chris McDonough
to :app:`Pyramid`. A custom role setting was added to ``docs/conf.py`` to allow for this. (internal)
2010-10-25convert narrative docs to PyramidChris McDonough
2010-03-23almost perfect.Carlos de la Guardia
2010-01-18Prep for b1Chris McDonough
Merge a bunch of paper-based docs fixes Configure logging during bfgshell.
2010-01-11Merge of andrew-docs branch.Chris McDonough
2009-12-27- Added manual index entries to generated index.Chris McDonough
2009-12-24Roles.Chris McDonough
2009-12-10Docs.Chris McDonough
2009-10-11Include vhosting info for modwsgi.Chris McDonough
2009-07-04Wording changes.Chris McDonough
2009-06-22Typo.Chris McDonough
2009-04-18- Added better documentation for virtual hosting at a URL prefixChris McDonough
within the virtual hosting docs chapter.
2009-01-27Docs renderings.Chris McDonough
2009-01-27FeaturesChris McDonough
-------- - The ``repoze.bfg.url.model_url`` API now works against contexts derived from Routes URL dispatch (``Routes.util.url_for`` is called under the hood). - "Virtual root" support for traversal-based applications has been added. Virtual root support is useful when you'd like to host some model in a :mod:`repoze.bfg` model graph as an application under a URL pathname that does not include the model path itself. For more information, see the (new) "Virtual Hosting" chapter in the documentation. - A ``repoze.bfg.traversal.virtual_root`` API has been added. When called, it returns the virtual root object (or the physical root object if no virtual root has been specified). Implementation Changes ---------------------- - ``repoze.bfg.traversal.RoutesModelTraverser`` has been moved to ``repoze.bfg.urldispatch``. - ``model_url`` URL generation is now performed via an adapter lookup based on the context and the request. - ZCML which registers two adapters for the ``IContextURL`` interface has been added to the configure.zcml in ``repoze.bfg.includes``.