[daisy] Apache configuration

Gwendolyn van der Linden G.W.vanderLinden at rijnhuizen.nl
Fri Dec 7 08:11:54 CST 2007


Andreas wrote:
<snip/>
> > Yesterday we faced some problems with configuring Apache to 
> make our 
> > first Daisy site accessible. We noticed that Rewrite rules can not 
> > prevent that the URL in the browser always get a prefix after the 
> > domain name which is the same as the Daisy site name. So, the Daisy 
> > site AAA that should be accessible by www.AAA.nl/ can only be made 
> > accessible by www.AAA.nl/AAA/.
<snip/>
> Are you aware of the scratchpad article "Using daisy for a 
> single site only"?
> http://cocoondev.org/wiki/g3/294-cd.html

That would still generate URLs with /AAA/ in it, wouldn't it?

Goto http://www.AAA.nl/ 
You get: http://www.AAA.nl/index.html
Which is as intended.

Click on a link on the site to select a document
You get: http://www.AAA.nl/AAA/document.html
Which is not as intended.

So, while you can use links like http://www.AAA.nl/document.html, but as
soon as you start browsing through the site you'll get links like:
http://www.AAA.nl/AAA/otherdocument.html

We haven't tried the exact configuration of the scratchpad article, but
it seems to use the same principle.  It looks like you would need to
either filter the HTML, or somehow convince Daisy not to include the
site name in the URLs.  Is this correct, and is there a way to do this?

Gwendolyn.
(a colleague of Arian)


More information about the daisy mailing list