You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/08/05 15:25:39 UTC
[Cocoon Wiki] Updated: VirtualHostingHostMatcher
Date: 2004-08-05T06:25:39
Editor: ViPi <Vi...@arcor.de>
Wiki: Cocoon Wiki
Page: VirtualHostingHostMatcher
URL: http://wiki.apache.org/cocoon/VirtualHostingHostMatcher
no comment
Change Log:
------------------------------------------------------------------------------
@@ -22,6 +22,8 @@
Make sure your Nameserver knows about all the hosts. If you are on a local machine without nameserver you can add them to /etc/hosts file.
Put some sample which you know that is working into each customerX directory.
== Define HostMatcher ==
+The default sitemap already has many ["Matcher"]s defined but there are some more that we could add.
+
Backup your '''/opt/cocoon/ROOT/sitemap.xmap''' and open it with your favourite editor.
Search for the section
{{{
@@ -49,7 +51,7 @@
...other components...
</map:components>
}}}
-Now as our sitemap.xmap knows about Wildcard Host Matcher we can use it in our pipeline.
+Now as our sitemap.xmap knows about [http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/matching/WildcardHostMatcher.html WildcardHostMatcher] we can use it in our pipeline.
== Use HostMatcher (in the pipeline) ==
Search for the section <map:pipelines> and find the <map:pipeline> which is commented "main pipeline".
{{{