cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [Announcement] Cocoon 1.7.4 -- Feedback
Date Mon, 22 May 2000 16:33:28 GMT
Ian Abbott wrote:
> 
> Stefano Mazzocchi wrote:
> >
> > > This is because the stylesheet uses href attributes of
> > > "?section=2&slide=2" which implies an index file in Apache (e.g. I've
> > > set up our to be 'index.xml').
> >
> > What?
> 
> i.e. if you call a URI of ...path_to_example/?section=2&slide=2 as
> created by the XSL stylesheet in the example, the webserver will try and
> serve the default index file (as defined by the webserver) and failing
> that it will give a directory listing.
> 
> In other words, either
> (i) update the XSL file and put the name of the file in it, so you
> generate URIs of "slides.xml?section=2&slide=2" rather than just
> "?section=2&slide=2", or
> (ii) update the webserver configuration to use 'index.xml' as a default
> index file (I use index.xml, index.shtml, index.html, index.cgi and
> index.asis under Apache) and then symlink slides.xml to index.xml. Then
> when you call "?..." the webserver will send out the first directory
> index file it finds, e.g "index.xml?...". Much the same way as
> "www.foo.com/" actually points to
> "www.foo.com/default_index_file.filetype"
> 
> What didn't you understand, Stefano, or does your Windows box operate
> differently to all of us?

no, no, you're right.... but my slides don't behave like that... the uri
is

 .../path-to-example/slides.xml?section=2&slide=2

which doesn't require any change in your index file.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------

Mime
View raw message