[daisy] Apache configuration

Andreas Deininger adeininger at googlemail.com
Fri Dec 7 03:03:09 CST 2007


2007/12/6, Arian Visser <A.P.Visser at rijnhuizen.nl>:
>
> Dear listmembers,
>
> We are setting up several Daisy sites in a single Daisy installation.
> All of them will be separately accessible from their own URL. So site
> AAA will me accessible by www.AAA.nl, site BBB by www.BBB.nl etc.
>
> 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/.
>
> Our current (part of the) Apache configuration:
>
> ------
>
> RewriteEngine on
> RewriteRule "^/AAA/(.*)" "http://server:8888/AAA/$1" [P]
>
> ProxyRequests Off
>
> ProxyPass        /resources/ http://server:8888/resources/
> ProxyPassReverse /resources/ http://server:8888/resources/
> ProxyPass        / http://server:8888/AAA/
> ProxyPassReverse / http://server:8888/AAA/
>
> ------
>
> A workaround could be to change the site name AAA into something like
> SITE, so the URL is more pleasant to the eye ;-)
>
> However, we are on the lookout for a solution from you as we are sure
> that some of you will face the same problems.  This problem has been
> mentioned before on the list, but we haven't found a resolution.

Are you aware of the scratchpad article "Using daisy for a single site only"?
http://cocoondev.org/wiki/g3/294-cd.html

Regards
Andreas


More information about the daisy mailing list