i dont think that i have understand your question exactly but i'll give 
you an example



virtual hosting is handled by apache 

forget apache for a moment

lets say that we have 3 sites

www.one.gr
www.two.gr
www.three.gr

the content of these sites are (in file system) in a path 
/home/vhost/xml/[2nd-level-domain-name].gr/htdocs/
..
..
/home/vhost/xml/one.gr/htdocs
/home/vhost/xml/thow.gr/htdocs
..
..

sitemap (sub-sitemap) for each site is in htdocs dir

with 
     <map:match pattern="*.gr/**">
        <map:mount uri-prefix="{1}.gr" 
src="/home/vhost/xml/{1}.gr/htdocs/sitemap.xmap" check-reload="yes"/>
     </map:match>

cocoon can handle each site using ulrs like 

http://server:8080/cocoon/one.gr/
http://server:8080/cocoon/thw.gr/
..
..


lets put apache in the game

apache is responsible
to send http://www.one.gr --> http://server:8080/cocoon/one.gr

for example 

http://www.one.gr/welcome --> http://server:8080/cocoon/one.gr/welcome

hope that this can help you


-- stavros



On Tue, 28 Oct 2003, Joose Vettenranta wrote:

> >
> > hi Joose
> >
> > i have add a wiki page with our cocoon/apache virtual hosting approach
> >
> > http://wiki.cocoondev.org/Wiki.jsp?page=VirtualHost
> 
> So, you use in <map:redirect-to /> -tags liek this:
> 
> <map:redirect-to uri="http://some.host/dire/ctory/"; />
> 
> ?
> 
> - Joose
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to